Difference between object oriented object based programming language

Which class is extended by all other classes ?

Answer : Object class is the root of the classes in hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class. Please see below: 

public class Object

 

Leave a Reply

Your email address will not be published. Required fields are marked *