You use the keyword ____ to achieve inheritance in Java.
A. inherit
B. extends
C. super
D. public
Answer: B
You might also like to view...
Which of the following statements is true?
a. Each object (instance) of the class shares the class’s instance variables. b. Most instance-variable declarations are preceded with the keyword public, which is an access modifier. c. Variables or methods declared with access modifier private are accessible only to methods of the class in which they’re declared. d. None of the above is true.
Write a statement for the following:
Print 200 with and without a sign.
What sort of evaluation involves the evaluation of expressions in each part of a compound, conditional Boolean expression only as much as necessary to determine whether the expression is false?
A. sequential B. sequence C. smart D. short-circuit
What are the four categories of linear implementations of tables?
What will be an ideal response?