Answer Posted / kaushi
object is an instance of a class or in other words object
is a snapshot(blueprint)of a perticuler class.
class is real world object.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What do you mean by "explicitly implemeting an interface". Give an example?
Which keyword can be used for overloading?
What does it mean that a method or class is abstract?
Can encapsulation be called as a security device?
Is is possible to define our own functional interface?
Can an interface inherit from another interface?
What is the use if instanceof keyword? And how do refer to a current instance of object?
Explain about the design phase?
How many methods are there in the externalizable interface?
What is a default method? Why do we need default methods in java 8 interfaces?
What are manipulators?
Differences between functional programming and object-oriented programming?
What is the function of pure virtual functions?
Explain the term constructor
Give any criteria when you use an abstract class and an interface?