I have a quick Java question:
Can one declare both *String* and *float* variables on the same line?
Code:
String float beginBalance, totDeposits, totChecks, totFees;
Or, would I need to have them both on seperate lines. Example:
Code:
String beginBalance, totDeposits, totChecks, totFees;
float beginBal, totDep, totChe, totFe, endBalance;
I need to declare String and float variables for the four I just listed, then I need a fifth one (endBalance) just as a float variable. Thanks in advance.