• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

chapter 5, question 5 (sybex)

 
  • 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.
 
author & internet detective
Posts: 39399
763
Eclipse IDE VI Editor Java
  • 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
Boost this thread!