What is the output of the following Java program?
public class Main {
public static void main(String[] args) {
int my_var = 20;
System.out.println(my_var);
}
}
20
Compilation Error
Runtime Error
Undefined Behavior
This question is part of this quiz :
Java Basics and Identifiers