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.
Hi Jack, You're right. But also this question is testing whether you know that protected is very similiar to default (package) access. If A and B were in the same package, you COULD call A's method like that. We were just talking about this yesterday and Anupam posted a great link explaining this: Link To Protected Access Discussion (See Kathy's reply) [ June 04, 2003: Message edited by: Brian Joseph ]