This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questions on Access modifiers....

Ashish Shirbhate
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2023
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic