• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overloading methods

 
Vanessa Roach
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to overload a method and return a value for a program using input to get it's values?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49472
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Difficult to understand your point, but I think the answer is yes. Have a look at the overloaded versions of Math class methods (eg abs), as an example.
 
Vanessa Roach
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. thank you I'll look
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic