how can i explain this .........
class S1
{
static void Static()
{
System.out.prin tln("Here i m ...");
}
}
class S2 extends S1
{
void test()
{
Static();
}
}
class StaticTest1
{
public static void main(String args[])
{
S2 s = new S2();
s.test();
}
}
i think u know the output ..... here i m
how can i explain thisss .... plz help
thnaxxxx
class S1
{
static void Static()
{
System.out.prin tln("Here i m ...");
}
}
class S2 extends S1
{
void test()
{
Static();
}
}
class StaticTest1
{
public static void main(String args[])
{
S2 s = new S2();
s.test();
}
}
i think u know the output ..... here i m
how can i explain thisss .... plz help
thnaxxxx
Comment