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
Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?
Can encapsulation be called as a security device?
what is full form OOP?
Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?
Which OOPS concept exposes only the necessary information to the calling functions?
Explain colloboration
How can I be thrown polymorphically?
What is the difference between multiple and multilevel inheritance?
Whether static method can use nonstatic members?
Why dynamic binding is used in object-oriented programming?
Can you create an instance of an abstract class?
What is static and dynamic Binding?
Explain what is polymorphism?
What is multiple inheritance? How java 8 supports multiple inheritance?
Can different parts of a partial class inherit from different interfaces?