WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Answers were Sorted based on User's Feedback
Answer / kunal prakash
object is the instance of the class.
class contains data and member functions.
Is This Answer Correct ? | 12 Yes | 4 No |
Answer / mallikharjuna
object is a real world entity.
class is a blueprint of object
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / hareesh d
Object :is a one which contains both data and member functions
class:which contains group of objects
Is This Answer Correct ? | 16 Yes | 10 No |
Answer / deepika
object is the real world entity and it is the instance of a
class.
collection of objects is known as class. all the objects
which belongs to the same class share same properties and
common behaviour.
Is This Answer Correct ? | 5 Yes | 3 No |
Answer / amit
class is key word which is provids to create a user defined
datatypes and
object is delegates of class
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pranay agarwal
class is a template that contain data and functions, an
object can use this template any no. of times .
object is instance of class.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / amit chauhan
object is a real world entity.
class is collection of similar objects.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / dulichand kumawat
class: A class is a collection of variables and functions working with these variables. Variables are defined by var and functions by function.
Object: Object is instance of the class which is used for run
the class like a key(object) of car(class)
Is This Answer Correct ? | 1 Yes | 0 No |
What are the 5 oop principles?
Why is encapsulation used?
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
what is the difference b/w abstract and interface?
2 Answers Merrill Lynch, Schneider, Scio Healthcare,
Why do we use polymorphism in oops?
How do you define social class?
write a progra in c++ using class & object to find out wheather a given no. is prim or not.
what is multi level inheritance give n example ?
13 Answers HDFC, Hulas Steel, Ness Technologies,
What does no cap mean?
In c++ there is only virtual destructors, no constructors. Why?
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage