-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
None
-
Affects Version/s: 1.0
-
Component/s: tools
-
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");
}
}