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.

All the variables of class should be ideally declared as?

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

Answer: a
Explanation: The variables should be private and should be accessed with get and set methods.

Join The Discussion