Re[2]: Why the return type is not included in the method signature?
Author: Kamal Chandana Mettananda (http://www.jguru.com/guru/viewbio.jsp?EID=1178395), Apr 27, 2006In method overloading you have to change the method singature while keeping the name unchanged.There’s nothing to do with thereturn typeorthrows clauseregarding method signature.As you guys have discussed in above posts, only the parameter types with the order metters.eg:publicObjectdoSomething(String param1, Object param2)throws Exception;publicvoiddoSomething(Object param2, String param1);What matters is only the parameter types with the order.