This annotation tells the Java compiler that a method is meant to override a method in the superclass.
A) @Override
B) @Overload
C) @Protected
D) @Inherited
Correct Answer:
Verified
Q8: When a subclass extends a superclass, the
Q9: Inheritance involves a subclass, which is the
Q41: This is a special type of expression
Q42: What is wrong with the following code?
IntCalculator
Q43: This is a variable whose value is
Q44: In an interface all methods have:
A) private
Q45: Protected class members are denoted in a
Q48: If a class contains an abstract method:
A)
Q50: In a class hierarchy:
A) the more general
Q51: Like a family tree, a _ shows
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