class Test { Test(){ System.out.println("Hello"); } public void showItem(){ } } abstract class A extends Test { A(){ System.out.println("Hi everyOne"); } abstract public void showItem(); } class Dont extends A { public void showItem(){ } public static void main(String... args){ new Dont(); } }
{
Test(){
System.out.println("Hello");
}
public void showItem(){
abstract class A extends Test
A(){
System.out.println("Hi everyOne");
abstract public void showItem();
class Dont extends A
public static void main(String... args){
new Dont();
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.