-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.0
-
sparc
-
solaris_2.4
The following class has a method named after the class that should
be a constructor, but the compiler treats it like a method. This
should flag an error:
class test {
public void test() {
System.out.println("foo");
}
}
be a constructor, but the compiler treats it like a method. This
should flag an error:
class test {
public void test() {
System.out.println("foo");
}
}