Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 248 Page Views: 

What are the Object and Class classes used for?



Posted By: Avi Date: 3 November 2010 10:37:55 PM
 Answer:

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.


Posted By: avibtech


Date: 3 November 2010 10:37:55 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image JEMokL
Related Questions
Core Java : What modifiers may be used with an inner class that is a member of an outer class?

What modifiers may be used with an inner class that is a member of an outer class?

A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.....
Category: Core Java Date: 11/8/2010 4:56:52 AM
Core Java : What is hashCode?

What is hashCode?

The hashcode of a Java Object is simply a number (32-bit signed int) that allows an object to be man....
Category: Core Java Date: 11/8/2010 3:51:50 AM
Core Java : What is the difference between a public and a non-public class?

What is the difference between a public and a non-public class?

A public class may be accessed outside of its package. A non-public class may not be accessed outsid....
Category: Core Java Date: 11/8/2010 3:40:55 AM
Core Java : Can an abstract class be final?

Can an abstract class be final?

No.
Category: Core Java Date: 11/8/2010 3:19:49 AM
Core Java : What is the disadvantage of garbage collection?

What is the disadvantage of garbage collection?

It adds an overhead that can affect performance and there is no guarantee that the object will be ga....
Category: Core Java Date: 11/8/2010 12:56:51 AM