Home  >  Forum  >  Core Java
Post New Query

folks can any one comment on the output


joined on
February 03,2015
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();
}
}

joined on
February 22,2015
Replied on February 25,2015

Output:: static

Write Answer









Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us