folks can any one comment on the output




Asked on February 25, 2015
class Parent1{
static void m1()
{
System.out.println("static");
}
}
public class OverloadTest extends Parent1{
public static void main(String[] args) {
Parent1 p = new Parent1();
p.m1();
}
}




Replied on February 25, 2015
Output:: static

Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us