WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Answer Posted / 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 |
Post New Answer View All Answers
What is encapsulation with real life example?
what is the drawback of classical methods in oops?
Can we define a class within the interface?
What is the difference between procedural programming and oops?
What is the significance of classes in oop?
can we make game by using c
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
How to call a non virtual function in the derived class by using base class pointer
Why is abstraction needed?
What is difference between polymorphism and inheritance?
Whats oop mean?
Why is static class not inherited?
What is class in oop with example?
Explain virtual inheritance?
#include