Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Param

 
Isaac Ferguson
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

why in some code I see this

/**
* @param args
*/

When and why it is used?

Thanks
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's known as Javadoc comments
 
Campbell Ritchie
Sheriff
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angus Ferguson wrote: . . . When . . . it is used?

Thanks
Ideally, all the time. The link Joanne provided will probably explain the rest of the question.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course the example you showed is a really poor use of it. It should have a description of the parameter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic