permaculture playing cards*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Local Variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Local Variables" Watch "Local Variables" New topic
Author

Local Variables

geeta rai
Ranch Hand

Joined: Sep 18, 2003
Posts: 48
Are local variables allowed to have any modifiers? If yes, which of them are allowed?
Thanks.
Kalai Ganesh
Ranch Hand

Joined: Sep 08, 2003
Posts: 32
Yes Geeta, final modifier is allowed for the local variables. Also, that is the only one allowed.
Kalai
geeta rai
Ranch Hand

Joined: Sep 18, 2003
Posts: 48
Thanks Kalai Ganesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Local Variables
 
Similar Threads
Inner classes
what is the purpose for allowing local variables as abstract ?
doubt Method local inner class
question about method-local class
Why does Local variables should not have access modifiers