What are the Object and Class that classes used for?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ravikiran(aptech mumbai)
class is the template for members and methods to get declared
and object is the physical reality for a class and is used
to call the members and methods those are declared inside a
class
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / 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 |
What releases of Java technology are currently available? What do they contain?
What is array sorting in java?
What are order of precedence and associativity, and how are they used?
Why destructor is not used in java?
where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these?
What are the important features of Java 8 release?
Can private class be inherited in java?
What is java reflection api?
how exactly garbage collection take place?
why abstract class will have a constructor?
What is character in data type?
What is java and why do we need it? Explain