Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public class RealEstate{
  2. private Property Prop[] = new Property[10];
  3. private int count;
  4. public RealEstate(){
  5. count = 0;
  6. }
  7.  
  8. public Property addHouse(String name, String address, int nrRooms, int nrBath, double tRoom, double tBath){
  9.  
  10. Prop[count] = addHouse(name, address, nrRooms, nrBath, tRoom, tBath);
  11. count++;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement