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
What is the benefit of singleton pattern?
Define jit compiler?
Is ++ operator is thread safe in java?
What is visibility mode?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
How many static init can you have?
What is rmi and steps involved in developing an rmi object?
What is anonymous inner class?
What is garbage collection? Can it be forced to run?
Can we define static methods inside interface?
What is a buffer in java?
What is the static keyword?
What is use of set in java?
Which data type is a class in java?
What is the difference between jvm and jre? What is an interface?