Answer Posted / vasir
Class is not an object. An object is an entity that is
allocated memory during runtime to do certain operation
whereas Class is just a skeleton or representation of the
object. We say design a class and not create a class. We
can only design a class ( attributes and behaviour ).
In brief we can say class is a Type of an object.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is inheritance in java?
What is the function of messaging metaphor?
Can you define OOP and principles of OOP?
What is single and multiple inheritance?
What is the difference between a virtual method and an abstract method?
What is diamond inheritance problem? How java 8 solves this problem?
Define Data Abstraction. What is its importance?
Write a note about inheritance?
What if we override the conflicting method in the class?
How can I be thrown polymorphically?
What is virtual multiple inheritance?
What are the different types of inheritance?
What are the features that are provided to make a program modular?
How do you prevent a class from being inherited by another class?
What is a virtual function?