volume_mute

What is the result of print statement in this Java program (+=)?

publish date: 2020/09/05 02:29:00 GMT+10

Missing
volume_mute
public class AssShortcutExample {
   public static void main(String args[]) {
      int num1 = 10;
      int num2 = 20;

      num2 += num1;
      System.out.println("= Output: "+num2);
}
}

Quizzes you can take where this question appears