bt1942
asked on
What's the return type !
Hi
Now that I know void doesn't return anything what about this code.
What's the return type in this code?
Now that I know void doesn't return anything what about this code.
What's the return type in this code?
public boolean rentHouse(String address, double weeklyRent, House rentedHouse)
{not trying to be funny by the way, trying to ensure you learn the concept of where and what the return type is in a method signature so you will be able to recognize when someone changes method signature on you}
ASKER
mwvisa1 // hi, is it boolean?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the comment!
No problem.
You tell me what the return datatype is. Since you understand void from last question, should be able to pick it out from above.