/**
 * Phone
 * 
 * @author Matthew Cheng
 * @version 
 */
public class Phone
{
    private String brandName = "UNKNOWN", modelType = "UNKNOWN", ownerName = "UNKNOWN";
    private int batteryLife = 0;
    private double spaceLeft = 0;
    
    public Phone()
    {
        
    }
    
    public Phone(String owner, String brand, String model, int battery, double space)
    {
        brandName = brand;
        modelType = model;
        ownerName = owner;
        batteryLife = battery;
        spaceLeft = space;
    }

    public void setPhone(String owner, String brand, String model, int battery, double space)
    {
        brandName = brand;
        modelType = model;
        ownerName = owner;
        batteryLife = battery;
        spaceLeft = space;
    }
    
    public String getBrand()
    {
        return brandName;
    }
    
    public void setBrand(String brand)
    {
        brandName = brand;
    }
    
    public String getModel()
    {
        return modelType;
    }
    
    public void setModel(String model)
    {
        modelType = model;
    }
    
    public String getOwner()
    {
        return ownerName;
    }
    
    public void setOwner(String owner)
    {
        ownerName = owner;
    }
        
    public int getBatteryLife()
    {
        return batteryLife;
    }
    
    public void setBatteryLife(int battery)
    {
        batteryLife = battery;
    }
    
    public double getSpace()
    {
        return spaceLeft;
    }
    
    public void setSpace(double space)
    {
        spaceLeft = space;
    }

    public String toString()
    {
        return "This phone belongs to" + ownerName + " and is a " + modelType + " made by " + brandName + " it has " + batteryLife + "% battery left and has " + spaceLeft + " Gb of storage space left.";
    }

}

@@ -228,21 +228,17 @@
 ft = 0;%0A
-    
 %0A
+
     publ
@@ -258,28 +258,16 @@
   %7B%0A
-        
 %0A
+
     %7D%0A
-    
 %0A
+
     
@@ -492,32 +492,198 @@
 = space;%0A    %7D%0A%0A
+    public String makeCall(String number)%0A    %7B%0A        return %22You dial %22 + number + %22 but it seems that you have no provider, so you can't make calls.%22;%0A    %7D%0A    %0A
     public void 
@@ -903,37 +903,33 @@
  = space;%0A    %7D%0A
-    
 %0A
+
     public Strin
@@ -971,37 +971,33 @@
 randName;%0A    %7D%0A
-    
 %0A
+
     public void 
@@ -1050,37 +1050,33 @@
  = brand;%0A    %7D%0A
-    
 %0A
+
     public Strin
@@ -1118,37 +1118,33 @@
 odelType;%0A    %7D%0A
-    
 %0A
+
     public void 
@@ -1197,37 +1197,33 @@
  = model;%0A    %7D%0A
-    
 %0A
+
     public Strin
@@ -1265,37 +1265,33 @@
 wnerName;%0A    %7D%0A
-    
 %0A
+
     public void 
@@ -1356,17 +1356,9 @@
   %7D%0A
-        
 %0A
+
     
@@ -1417,37 +1417,33 @@
 teryLife;%0A    %7D%0A
-    
 %0A
+
     public void 
@@ -1505,37 +1505,33 @@
  battery;%0A    %7D%0A
-    
 %0A
+
     public doubl
@@ -1573,37 +1573,33 @@
 paceLeft;%0A    %7D%0A
-    
 %0A
+
     public void 
@@ -1688,32 +1688,32 @@
 oString()%0A    %7B%0A
-
         return %22
@@ -1733,16 +1733,17 @@
 longs to
+ 
 %22 + owne

Update Phone.java