• Post Reply Bookmark Topic Watch Topic
  • New Topic

Param  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1054
3
Java Netbeans IDE Spring
  • 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: 53779
128
  • 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
Posts: 65833
134
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
Boost this thread!