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 is Exception handling in Java How do you handle run time errors please explain with an example

2 Answers   Mastek, TCS,


What are the advantages of functions?

0 Answers  


Can an interface implement another interface?

0 Answers  


can write code for serialization ?

1 Answers   HCL, MegaSoft,


What is difference between java and java ee?

0 Answers  






If an application has multiple classes in it, is it okay to have a main method in more than one class?

0 Answers  


When will you define a method as static?

0 Answers  


Which keyword specify that a variable is effectively final ?

0 Answers  


How are this() and super() used with constructors in java programming?

0 Answers  


What is the base class of all exception classes in java?

0 Answers  


What are the main uses of the super keyword?

0 Answers  


what is difference between front controller and action servlet?

2 Answers  


Categories