GeeCON Prague 2014*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes question from abhilash's quiz Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "question from abhilash Watch "question from abhilash New topic
Author

question from abhilash's quiz

Ankur kothari
Ranch Hand

Joined: Sep 06, 2009
Posts: 531
Question 6.

An Interface can never be private or protected.

Answers

True
False

the answer given is false.......it is because of inner interfaces? i think yes
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  17

Yes, top level classes and interfaces can only be marked public or package visible...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
GeeCON Prague 2014
 
subject: question from abhilash's quiz