Image

Programs - Java - Core Java - General Programs

Program:


class A{

  public static void main(String[] args) {
    System.out.println("Hello");
  }
  
}
class B extends A{
  
}