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 bootstrap, extension and system class loader? Or can you explain primordial class loader?
What is static and dynamic Binding?
Explain the usage of encapsulation?
Why are virtual users created?
Explain static binding
When will you use an interface and abstract class?
What are the Differentiate between abstraction and encapsulation.
Why is java not fully objective oriented?
What is the difference between class inheritance and interface inheritance?
What is a functional interface? What is sam interface?
Write about abstract base classes?
How can I be thrown polymorphically?
What is static polymorphism?
What is an abstraction?
What is the use of finalize method?