• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

method-params problem

 
Li Xin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As said, <method-params> is used to identify overloaded methods, my question is do I need to list all parameters in my method? See if I have two overloaded methods:
f(int a, int b)
f()
If I want use the first method, my <method-params> must include both these two parameters, or just the first one?
Thanks.
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both the Parameters.
 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes ,both the parameters
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic