I have a quick Java question:
Can one declare both *String* and *float* variables on the same line?
Or, would I need to have them both on seperate lines. Example:Code:String float beginBalance, totDeposits, totChecks, totFees;
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.Code:String beginBalance, totDeposits, totChecks, totFees; float beginBal, totDep, totChe, totFe, endBalance;