What are the Object and Class that classes used for?
Answer Posted / ashok
Object class is the ultimate super class of all classes in java.It defines maths method which are inherited by all classes in java.
Class class defines the functionality or behaviour for all classes in java that how object of class should behave according to the functionality of that class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
How does java enable high performance?
What is Gang of four design patterns
What are the basic interfaces of java collections framework?
How do you avoid global variables?
Can we execute java program without main method?
What is the difference between preemptive scheduling and time slicing?
Do I need to import java.lang package any time? Why?
Is the empty set a singleton?
Write a java program to count the number of words present in a string?
What is identifier give example?
What is nested top-level class?
what is comparable and comparator interface?
Does set allows null in java?
Why synchronization is important in java?