Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

}   public String status()   {       return “Color of bread is”+this.color+” and toaster is “+this.hasToased;    }    public static void main(String[] args)    {        //creating object of toasterclass        Toaster t=new Toaster();        //calling methods       System.out.println(t.status());        t.toast();

}<br/>   public String status()<br/>   {<br/>       return “Color

of bread is”+this.color+” and toaster is “+this.hasToased;
}
public static void main(String[] args)
{
//creating object of toasterclass
Toaster t=new Toaster();
//calling methods
System.out.println(t.status());
t.toast();
System.out.println(t.status());
}
}

// How is string status connecting to void main?
//what is t.toast is for?
// can you explain the purpose of status?
// can’t you get same result by copying the return value and pasting it in printin? if so what’s the difference.
//plz break down dummy style

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"