View Code of Problem 1

private class Examwork {
   public static void main(String[] args){
	   int A=1,B=1;
	   System.out.println(A+B);
   }
}
/*
Main.java:1: error: modifier private not allowed here
private class Examwork {
        ^
1 error
*/

Double click to view unformatted code.


Back to problem 1