my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes what are all the modifiers in java... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "what are all the modifiers in java..." Watch "what are all the modifiers in java..." New topic
Author

what are all the modifiers in java...

sarim raza
Ranch Hand

Joined: Nov 02, 2000
Posts: 232
i am sort of confused about the complete list.. thanks
Aru Ven
Ranch Hand

Joined: Sep 28, 2000
Posts: 199
private, protected, public
static, final, abstract
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Access modifiers - public, private, protected
Special modifiers - static, native, synchronized, abstract, final, transient, volatile

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Rebecca Mathew
Ranch Hand

Joined: Nov 23, 2000
Posts: 30
Wow, Ajith..I never even heard some of the special modifiers...ie, native, synchronized, transient and volatile. Is it possible to explain them briefly....or could you suggest some site or book where I could learn more about them. thanks
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
They are described in detail in Java Language Specification, Section 8 Classes under the subsections Field declarations and Method declarations.
Hope that helps.
Ajith
 
Consider Paul's rocket mass heater.
 
subject: what are all the modifiers in java...