What is Object and Class? What are the differences between
them?
Answer Posted / jack
simple analogy for this quest is u declare int x;
and u ask diff between int and x;
Object is an instance of a class.......
--when an object of a class is created the memory for
that class is created...
--U can access the class members using the . operator in
your program....but u r not allowed to access the private
and protected members, which can be accessed by the member
functions only........
Class is the user defined datatype...which contains data
members and member functions.....
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the point of oop?
What is destructor give example?
What is the difference between procedural programming and oops?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What are objects in oop?
Can an interface inherit a class?
What is the benefit of oop?
What are main features of oop?
Why do we use polymorphism in oops?
Is react oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What are the types of abstraction?
What is oops in programming?
What are the important components of cohesion?
What is meant by multiple inheritance?