What are the Object and Class that classes used for?
Answer Posted / janet
The Object class is the highest-level class in the Java
class hierarchy.
The Class class is used to represent the classes and
interfaces that are loaded by a Java program.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How will you initialize an Applet?
what are synchronized methods and synchronized statements? : Java thread
Which class is used by server applications to obtain a port and listen for client requests?
What does super keyword do?
What is predicate in java?
Why can't we make a class private in java?
How java uses the string and stringbuffer classes?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is the difference between member variables initialization and assignment in a constructor?
What is the difference between access specifiers and access modifiers in java?
What is variable in java?
What is the difference between heap and stack memory?
Why put method is idempotent?
How does linkedlist work in java?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?