OOPS
August 25, 2024OOPS
August 25, 2024OOPS
Question 129 |
Parent class of all java classes is____
Java.lang.system
| |
Java.lang.object | |
Java.lang.class | |
Java.lang,reflect.object |
Question 129 Explanation:
public class Object:
Class Object is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class.
Class Object is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class.
Correct Answer: B
Question 129 Explanation:
public class Object:
Class Object is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class.
Class Object is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class.