I came accross a code that read like this:
This is in the parent class.
public boolean drawmoney(double money)
Now in the int main, there is a check like this:
My question is, I find it strange that thereisn't any else statement to witdraw money.
Do i assume that when the first if statement is executed, it checks if true, it automatically withdrawsmoney, and only if false, it print...
Pls clarify. Thanks