1.What is the difference between the public and private parts of a class?
2.a. Give an example of a situation in which an instance variable should be private.
b. Give an example of a situation in which an instance variable should be public.
c. Give an example of a situation in which a method should be private.
d. Give an example of a situation in which a method should be public.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here