Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RealEstate{
- private Property Prop[] = new Property[10];
- private int count;
- public RealEstate(){
- count = 0;
- }
- public Property addHouse(String name, String address, int nrRooms, int nrBath, double tRoom, double tBath){
- Prop[count] = addHouse(name, address, nrRooms, nrBath, tRoom, tBath);
- count++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement