• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

access modifier

 
sunitha hari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i am new to struts.
my doubt is
execute method in Action class in not allowing me to give access modifier to String var's , it giving me the error
Illegal modifier for argument name , only final is permitted.

can any one plz tell me why it's only final not public or private.

Thanks in advance
Sunitha Hari
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic