Pardon me, would you please elaborate little more. Do you want an overloaded method to return a value?
Nana Mikamura wrote: I am trying to figure out how to return an overloaded method
Whatever you have tried yet, just post that code using Code tag (To get it, click Code button in menu and put your code in it), so we can understand what precisely you want to know..
Nana Mikamura wrote:Yes, I am trying to overload 3 methods and return the value of all 3 of them.
First character of filed should be small letter. Please read this naming convention link
Nana Mikamura wrote:double Price
Here your not calculating total, only returning Total variable in your case which is initialized 0.0, you must assign calculation value of Price + Tax like Total = Price + Tax. Actually you can directly return total bill amount without storing in separate variable which is Total in your code. You can return it likeI think you should read this first Method Overloading
Nana Mikamura wrote:public double computeBill(double Price)
System.out.println("Total including tax is" + Price + Tax);