what is the purpose of class "Object" which is base class
for all classes?
Answer Posted / lakshmi
object class is a base class for all class in java.using
this class we can call from super class methods and
variables to sub class
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How does compareto work in java?
What is use of static in java?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
What is function and its uses?
Can we use string in switch case in java?
Why are the destructors for base class and derived class called in reverse order when the program exits
How many techniques can be employed to create a string object?
When a byte datatype is used?
What is the purpose of return statement?
Define an abstract class with reference to java.
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Can we overload destructor in java?
What is fundamental datatype?
Name component subclasses that support painting in java programming?