adplus-dvertising
frame-decoration

Question

Which of these access specifier must be used for class so that it can be inherited by another subclass?

a.

public

b.

private

c.

protected

d.

none of the mentioned

Posted under Java Programming

Answer: (a).public

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these access specifier must be used for class so that it can be inherited by another subclass?