1
Fork 0
mini-java/miniJava/tests/pa3_tests/fail328.java

10 lines
194 B
Java

/*** type error for first argument to "println" method in line 7
* COMP 520
* Type checking
*/
class fail28 {
public static void main(String [] args) {
System.out.println(args[0]);
}
}