What is the main difference between a class and an object?
Answer / Deepak Malik
'Class' is a blueprint or template for creating objects, while 'Object' is an instance of a class. A class describes what properties and methods an object has, but it does not actually exist until an object is created from that class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is data abstraction? what are the three levels of data abstraction with Example?
What is difference between encapsulation and abstraction?
What is inheritance in java?
What is data encapsulation and what is its significance?
Explain serialization and overriding?
Which oops concept is used as reuse mechanism?
Can an interface inherit from another interface?
What is the use if instanceof keyword?
What is method overriding?
What is a final variable?
What is polymorphism and abstraction?
1 Answers Agilent, Integreon, ZS Associates,
What are base class, sub class and super class?