adplus-dvertising
frame-decoration

Question

Which among the following can be used for outermost class access specifier in java?

a.

Private

b.

Public

c.

Default

d.

Default or Public

Answer: (d).Default or Public

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following can be used for outermost class access specifier in java?