Every object has : state, behavior and identity -
explain
Answer Posted / praveen kumar
Object is an instance of the class.And oject must have the
identity because of object can be specified in Class. And
has carries the behaviour of that perticular class
| Is This Answer Correct ? | 14 Yes | 36 No |
Post New Answer View All Answers
What is polymorphism? When is it employed? give an example.
What is the use of finalize method?
Describe the Diamond problem. Where does this problem occur?
What is meant by function overloading and function overriding?
What does the keyword virtual represented in the method definition?
Can you give some examples of tokens?
Can you explain primordial class loader?
What is the difference between a class and a structure?
Write down how will you create a Binary tree?
What are the types of polymorphism?
Define Destructor?
Can you call the base class method without creating an instance?
Can a class implement two interfaces having default method with same name and signature?
What is diamond inheritance problem? How java 8 solves this problem?
Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?