O'Reilly logo
  • Tao Wen thinks this is interesting:

method’s signature


Cover of Effective Java, 3rd Edition


what is method signature in java? answer:Definition: Two of the components of a method declaration comprise the method signature—the method's name and the parameter types. Here is an example of a typical method declaration: public double calculateAnswer(double wingSpan, int numberOfEngines, double length, double grossTons) { //do the calculation here } The signature of the method declared above is: calculateAnswer(double, int, double, double)