Asked by Maria Blanco on Mar 10, 2024

verifed

Verified

Which modifier is used to build classes on top of classes that are interfaces?

A) private
B) public
C) new
D) implements

Implements

A keyword in Java used to indicate that a class is using an interface, requiring the class to provide implementations for the interface's methods.

Modifier

In programming, a modifier is a keyword that you add to those definitions to change their meanings. Java language has a wide variety of modifiers, including those that define access control levels or provide characteristics such as being abstract or static.

  • Gain insight into the core ideas behind constructing elementary object-oriented software.
verifed

Verified Answer

NF
Nicholas FakhouryMar 10, 2024
Final Answer :
D
Explanation :
The modifier "implements" is used to build classes on top of classes that are interfaces. The other options ("private", "public", and "new") are not related to implementing interfaces.