View Code of Problem 1

public class Exemple{
  public static void main( string[] args){
    int A=3,B=4;
     int temp=A+B;
    System.out.printf(temp)
      }
}
/*
Main.java:3: error: unmappable character for encoding ASCII
    int A=3???B=4???
           ^
Main.java:3: error: unmappable character for encoding ASCII
    int A=3???B=4???
            ^
Main.java:3: error: unmappable character for encoding ASCII
    int A=3???B=4???
             ^
Main.java:3: error: unmappable character for encoding ASCII
    int A=3???B=4???
                 ^
Main.java:3: error: unmappable character for encoding ASCII
    int A=3???B=4???
                  ^
Main.java:3: error: unmappable character for encoding ASCII
    int A=3???B=4???
                   ^
Main.java:5: error: ';' expected
    System.out.printf(temp)
                           ^
7 errors
*/

Double click to view unformatted code.


Back to problem 1