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 abstraction in oop?
Are polymorphisms mutations?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is cohesion in oop?
Why do pointers exist?
What is the benefit of oop?
What is new keyword in oops?
What is constructor overloading in oop?
Which language is pure oop?
What is this pointer in oop?
How do you achieve runtime polymorphism?
Is abstract thinking intelligence?
What does and I oop and sksksk mean?
Is data hiding and abstraction same?
What does oop mean in snapchat?