next up previous
Next: The edit-compile-verify cycle Up: Unit 01 Previous: Note on the portability

Errors

The following program contains various errors:

public class Errors {
  public static void main(String[] args) {
    System.out.println("These are my first Java errors ...")
    Sistem.out.println("... and they will not be the last ons!!!");
  }
}

Corrected program:

public class Errors {
  public static void main(String[] args) {
    System.out.println("These are my first Java errors ...");
    System.out.println("... and they will not be the last ones!!!");
  }
}

Types of errors:


next up previous
Next: The edit-compile-verify cycle Up: Unit 01 Previous: Note on the portability