MyClass.java
 

public class MyClass {
  public static void main(String[] args) {
    int x = 5;
    int y = 6;
    int sum = x + y;
    System.out.println(sum); // Print the sum of x + y
  }
}

Result:
11