hi everyone my teacher ask bout one prg is here?
[code=java]class Outer
{
static int x;
class Inner
{
static int y;
public static void main(String args[])
{
System.out.prin t(x+" "+y);
}
}
}[/code]
if file name is Inner.java then how to call it.
note----> it isnt call simply like anby other files of java.
[code=java]class Outer
{
static int x;
class Inner
{
static int y;
public static void main(String args[])
{
System.out.prin t(x+" "+y);
}
}
}[/code]
if file name is Inner.java then how to call it.
note----> it isnt call simply like anby other files of java.
Comment