+91-85006-22255
What will be the output of the following program?
public class ScopeOfVariables { public static void main(String[] args) { int x = 10; System.out.print(x + ", " + y); int y = 20; x = 15; System.out.print(" - " + x + ", " + y); }}
Topic: Scope Of Variables In Same Block
Read this topic Take test on this topic
Open In App