• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

chapter 5, question 5 (sybex)

 
sergio enrique rojas moncada
Greenhorn
Posts: 5
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.
I'm reading the Java OCA 8 Programmer from Sibex  and I have a question for number question 5 from chapter 5 (Class design).
Why the options A and F are corrects options if technically, a private methods and variables cannot be hidden or overridden.

in advance, thk for the answers.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this is an English thing. Technically private members are automatically "hidden" in that the subclasses don't see them.

Don't worry about it too much. The real exam tells you how many options are correct. If you had that clue, you'd have gotten it right.
 
sergio enrique rojas moncada
Greenhorn
Posts: 5
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thk for clarify my doubt.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic