Question
a.
String class
b.
Object class
c.
Abstract class
d.
ArrayList class
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of these class is superclass of every class in Java?
Similar Questions
Discover Related MCQs
Q. Which of these method of Object class can clone an object?
View solution
Q. Which of these method of Object class is used to obtain class of an object at run time?
View solution
Q. Which of these keywords can be used to prevent inheritance of a class?
View solution
Q. Which of these keywords cannot be used for a class which has been declared final?
View solution
Q. Which of these class relies upon its subclasses for complete implementation of its methods?
View solution
Q. Which of these keywords are used to define an abstract class?
View solution
Q. Which of these is not abstract?
View solution
Q. If a class inheriting an abstract class does not define all of its function then it will be known as?
View solution
Q. Which of these packages contains abstract keyword?
View solution
Q. Which of this keyword must be used to inherit a class?
View solution
Q. A class member declared protected becomes a member of subclass of which type?
View solution
Q. Which of these is correct way of inheriting class A by class B?
View solution
Q. What is not type of inheritance?
View solution
Q. Using which of the following, multiple inheritance in Java can be implemented?
View solution
Q. All classes in Java are inherited from which class?
View solution
Q. In order to restrict a variable of a class from inheriting to subclass, how variable should be declared?
View solution
Q. If super class and subclass have same variable name, which keyword should be used to use super class?
View solution
Q. Static members are not inherited to subclass.
View solution
Q. Which of the following is used for implementing inheritance through an interface?
View solution
Q. Which of the following is used for implementing inheritance through class?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!