What are the Object and Class that classes used for?

Answers were Sorted based on User's Feedback



What are the Object and Class that classes used for?..

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

What are the Object and Class that classes used for?..

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

What are the Object and Class that classes used for?..

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

Post New Answer

More Core Java Interview Questions

what are the difference between Java and .Net?

5 Answers  


What is method overriding in java ?

0 Answers  


Explain about fail safe iterators in java?

0 Answers  


What is the difference between throw and throws keywords?

0 Answers  


Explain what is encapsulation?

0 Answers  






Give few examples of final classes defined in Java API?

0 Answers   BirlaSoft,


Name the class that used to read objects directly from a stream?

4 Answers   Wipro,


What are the procedures?

0 Answers  


What is primitive data type in java?

0 Answers  


What is meant by binding in rmi?

0 Answers  


What is java util hashmap?

0 Answers  


Can we overload final method in java?

0 Answers  


Categories