The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Boxing Conversion in J2SE 5.0
Subject:  typo in your method names...
Date:  2005-04-23 15:39:37
From:  yukster


Your example of overloaded methods are not overloaded... the names are different:


public static void testMethod(long lVar){
System.out.println("Long");
}
public static void test(Integer iVar){
System.out.println("Integer");
}

 Feed java.net RSS Feeds