Sunday, January 31, 2016

ParentClass5

package inheritance;

public class ParentClass5 {

ParentClass5(int a){
System.out.println(" I am from parent class constructor");
}

void test1(){
System.out.println(" I am from parent calss");
}

}

1 comment:

  1. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    Core Java Training in Electronic city

    ReplyDelete