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 byval and byref? What are differences between them?
What is oops with example?
What is the difference between encapsulation and polymorphism?
What causes polymorphism?
what are the realtime excercises in C++?
What is encapsulation with example?
What is object-oriented programming? Webopedia definition
What is a function in oop?
Can we create object of abstract class?
What is class and object with example?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is meant by oops concept?
What is abstraction in oop?
What is abstract class in oops?
How can you overcome the diamond problem in inheritance?