Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A class that uses an interface must use the keyword: (a) Extends (b) Inherits (c

ID: 3841018 • Letter: A

Question

A class that uses an interface must use the keyword: (a) Extends (b) Inherits (c) Super (d) Implements An interface and all of its method headings are normally declared to be: (a) public (b) private (c) protected (d) package access In Java, a derived class can have _______ base class(es). (a) one (b) two (c) three (d) there A class that implements an interface but only gives definitions for some of the method headings given in the interface is called a/an: (a) concrete class (b) abstract class (c) discrete class (d) friendly class The compare To method should return _______ if the calling object equals the parameter. (a) A negative number (b) Zero (c) A positive number (d) Null

Explanation / Answer

48) Extends keyword must be used used for interface in java

49) public keyword must used if not it makes default as public

50)one base class

51)abstract class

52)zero

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote