aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Questions on Access modifiers.... 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 "Questions on Access modifiers...." Watch "Questions on Access modifiers...." New topic
Author

Questions on Access modifiers....

Ashish Shirbhate
Greenhorn

Joined: Jun 14, 2006
Posts: 8
Hi Ranchers this one would sound silly..but can anyone please help me understanding the questions on access modifiers
one of the question :
Which of the following are Java modifiers?

1) public
2) private
3) friendly
4) transient
5) vagrant

I thought the answers must be 1 and 2 only since as per K&B
access Modifiers : public,protected & private
non access modifiers : strictfp,abstract and final
access levels : default,public,protected & private

but the answer to the question is 1,2 and 4..Can somebody please explain how???
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
8.3.1 Field Modifiers and 8.1.1 Class Modifiers
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Questions on Access modifiers....