• Post Reply Bookmark Topic Watch Topic
  • New Topic

Method Signature  RSS feed

 
Duleep Singh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What comprises of a method signature?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Technically, just the name of the method and the number and types of the arguments. In practice, it's often understood that the return type is part of the signature as well. The names of the arguments don't count.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!