McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
Which is the keyword used to inherit a c...
Q.
Which is the keyword used to inherit a class to another?
A.
Inherits
B.
extends
C.
implements
D.
import
Answer» B. extends
1.6k
0
Do you find this helpful?
18
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
One interface can inherit another by use of the keyword _____.
Does a class inherit the constructors of its super class?
The keyword used inside a class to refer to its immediate super class is
Identify the type of inheritance when two or more subclasses inherit the properties of a super class.
Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class.
Which of this access specifies can be used for a class so that its objects can be created by a different class in another package?
A class is declared by use of the ________ keyword.
Which keyword is used by the method to refer to the object that invoked it?
The keyword used to create a constant variable
The keyword used to create an object