Answer Posted / shambhu gupta
Class is a user defined data type whereas Object can be
veiwed as a variable of class type
For example fruit is a class & mango,apple are different
objects of class fruit.
Class can be a person whereas objects can be any existing
person like Ram ,Shayam,Rahul etc
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is an abstract property. Give an example?
Explain the purpose of composition.
Can we use static method definitions in interfaces?
What does the keyword virtual represented in the method definition?
What is the difference abstract class and interface?
Write a program to show the inheritance used in a class.
explain dynamic binding
Is iterator a class or interface? What is its use?
Does java support multiple inheritance? if not, what is the solution?
What is the best tool for modeling and ORM framework
Can you explain primordial class loader?
Why is class hierarchies managed in object-oriented programming?
Can you create an instance for an abstract class?
Can you define OOP and principles of OOP?
Why are virtual users created?