Question 31
MediumWhat is the default access level of a class member in Java when no modifier is written?
- A.
private
- B.
protected
- C.
public
- D.
Package-private (visible within the same package)
Sign up free to see the answer and a step-by-step explanation.