ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What are the Object and Class that classes used for?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the Object and Class that classes used for?
Answer
# 1
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 ?    1 Yes 0 No
Janet
 
  Re: What are the Object and Class that classes used for?
Answer
# 2
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 ?    0 Yes 1 No
Ravikiran(aptech Mumbai)
 
 
 
  Re: What are the Object and Class that classes used for?
Answer
# 3
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 ?    0 Yes 0 No
Ashok
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose. Infosys1
Can multiple catch statements be used in exceptions ? Wipro4
what is bytecode? watz the difference between machine code and bytecode? Oracle4
What is the smallest package in Java API?  4
What is a default package ?  7
What is a serializable interface?  3
What is the purpose of premetive data types in java? Merrill-Lynch2
explain System.out.println IBM41
what release of java technology are currently available what do they contain?  1
can we declare private class in java file?  6
What are virtual functions?  2
what are the purposes of native, transiant key words?  2
How the elements are organized in GridBagLayout?  1
How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order) ProdEx-Technologies2
where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these? iFlex4
Name two subclasses of the TextComponent class?  2
What for read() function?  3
Default layout of panel and frame?  2
What method is used to know the status of Checkbox(i.e it is checked or unchecked)?  1
What is an event?  1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com