This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
the following question comes from K&B SCJP 1.4 book on Chapter 2. I am confused about "protected class" term. Can protected modifier be used for classes? if so what is the reason?
Question No 2 : Given a method in a protected class, what access modifier do you use to restrict access to that method to only the other members of the same class? A. final B. static C. private D. protected E. volatile F. default access
I'm not sure if it was captured in the errata and republished, but my copy of K&B states "Given a method in a public class, what access modifier..." [ November 13, 2005: Message edited by: Patrick Williams ]