Question: Which modifiers can methods declared in a top-level interface specify? Select the four correct answers. (a) public (b) protected (c) private (d) default (e) abstract

Which modifiers can methods declared in a top-level interface specify?

Select the four correct answers.

(a) public

(b) protected

(c) private

(d) default

(e) abstract

(f) static

(g) final

Step by Step Solution

3.35 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a d e and f The keywords protected private and final cannot be applied to interface method... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming 8th Questions!