Which keyword do we use in the header of a class that inherits from another class?
A) inherits
B) extends
C) protected
D) modifies
Correct Answer:
Verified
Q35: Abstract methods can be overridden.
Q36: A constructor can be declared abstract.
Q37: An interface can contain instance variables.
Q38: An interface can contain a constructor.
Q39: _ allows us to use the same
Q41: When class B inherits from class A:
A)
Q42: Assuming that class B inherits from class
Q43: Assuming that class B inherits from class
Q44: What keyword do we use in the
Q45: When a class implements an interface:
A) it
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents