• Post Reply Bookmark Topic Watch Topic
  • New Topic

Local Variables  RSS feed

 
geeta rai
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are local variables allowed to have any modifiers? If yes, which of them are allowed?
Thanks.
 
Kalai Ganesh
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Geeta, final modifier is allowed for the local variables. Also, that is the only one allowed.
Kalai
 
geeta rai
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kalai Ganesh
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!