Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which is the modifier when there is none mentioned explicitly?

a) protected
b) private
c) public
d) default

Answer: d
Explanation: Default is the access modifier when none is defined explicitly. It means the member (method or variable) can be accessed within the same package.

Join The Discussion