class Building{
String bname;
int floors;
double area;
public Building(){
}
public Building(String b,int f,double a){
bname=b;
floors=f;
area=a;
}
}
class Classroom extends Building{
int rooms;
int es;
public Classroom(){
}
public Classroom(String b2,int f2,double a2,int rs, int es2){
bname=b2;
floors=f2;
area=a2;
rooms=rs;
es=es2;
}
public void disPlay(){
System.out.println(bname+floors+area+rooms+es);
}
}
class Lq0{
public static void main(String args[]){
Classroom c1=new Classroom("sdf",23,23,23,23);
c1.disPlay();
}
}
String bname;
int floors;
double area;
public Building(){
}
public Building(String b,int f,double a){
bname=b;
floors=f;
area=a;
}
}
class Classroom extends Building{
int rooms;
int es;
public Classroom(){
}
public Classroom(String b2,int f2,double a2,int rs, int es2){
bname=b2;
floors=f2;
area=a2;
rooms=rs;
es=es2;
}
public void disPlay(){
System.out.println(bname+floors+area+rooms+es);
}
}
class Lq0{
public static void main(String args[]){
Classroom c1=new Classroom("sdf",23,23,23,23);
c1.disPlay();
}
}