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 releases of Java technology are currently available? What do they contain?

1 Answers  


What is array sorting in java?

0 Answers  


What are order of precedence and associativity, and how are they used?

1 Answers  


Why destructor is not used in java?

0 Answers  


where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these?

4 Answers   iFlex,


What are the important features of Java 8 release?

0 Answers  


Can private class be inherited in java?

0 Answers  


What is java reflection api?

0 Answers  


how exactly garbage collection take place?

4 Answers  


why abstract class will have a constructor?

4 Answers  


What is character in data type?

0 Answers  


What is java and why do we need it? Explain

0 Answers  


Categories