What are the Object and Class that classes used for?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 versions of java?

555


What's a method in programming?

543


write a program that list all permutations of ABCDEF in which A appears before B?

2009


What is JDBC Driver interface?How can you retrieve data from the ResultSet

1508


What do you mean by append?

530






When is an object subject to garbage collection?

576


Is java a utf 8 string?

526


What are the different types of constructor?

521


What are latest features introduced with java 8?

586


How do you create a reference in java?

508


What's the difference between int and integer in java?

531


Why we cannot override static method?

556


What does indexof mean?

528


What are the restrictions imposed on method overriding?

550


What's the base class of all exception classes?

562