package Constructor;
public class Test1 {
Test1() {
System.out.println("I am from parent default constructor");
}
Test1(int a) {
System.out.println("I am from parent parameterized constructor");
}
Test1(String c){
System.out.println("I have string argument");
}
}
public class Test1 {
Test1() {
System.out.println("I am from parent default constructor");
}
Test1(int a) {
System.out.println("I am from parent parameterized constructor");
}
Test1(String c){
System.out.println("I have string argument");
}
}
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.
ReplyDeleteJava Training in Electronic city