Professional Documents
Culture Documents
American International University-Bangladesh: Faculty of Science and Technology Department of Computer Science
American International University-Bangladesh: Faculty of Science and Technology Department of Computer Science
class Person{
String name;
int age;
public Person(){}
public Person(String name,int age){
this.setName(name);
this.setAge(age);
}
public Doctor(){}
public Doctor(String name, int age,String workingId, String specialization ){
super(name,age);
this.setWorkingId(workingId);
this.setSpecialization(specialization);
}