//test.java
public class test
{
static int i=4;
public static void main(String args[])
{
System.out.println("i="+i);
{
int i=3;
System.out.println("i="+i);
}
System.out.println("i="+i);
}
}
//test.java
public class test
{
static int i=4;
public static void main(String args[])
{
System.out.println("i="+i);
{
int i=3;
System.out.println("i="+i);
}
System.out.println("i="+i);
}
}