Assume that classA includes a private variable k, a variable m with no modifier, a private protected variable n, a protected variable p, and a public variable q. Moreover, classB is derived from classA, classC is not derived from classA, and all three classes are in the same package. In addition, classD is derived from classA, classE is not derived from classA, and classA is in a different package than classD and classE. Which of the five variables defined in classA can be used by any of the four other classes?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here