187k views
5 votes
A. All methods in an interface must be _________________ _________________________.

b. All variables in an interface must be __________________ ____________________ _______________.
c. Interfaces cannot be _______________________________________ .
d. Interfaces cannot contain _________________________________ methods.
e. Interfaces are considered to be ___________________ _______________________ classes.

User Katerlouis
by
5.0k points

1 Answer

5 votes

Answer:

Step-by-step explanation:

a. All methods in an interface must be abstract methods.

b. All variables in an interface must be public, static, and final.

c. Interfaces cannot be instantiated. (meaning that they do not have a constructor and cannot be created as a regular object.)

d. Interfaces cannot contain fields, properties, or defined methods. (Everything needs to be abstract)

e. Interfaces are considered to be reference implementation classes

Since no answer options were provided, these keywords all fit the into the sentence and make the sentence true.

User Jose Rodriguez
by
5.0k points