I am new to java and i have 2 different Variables one is a double and one is a boolean. I am having difficulty printing them into the same line, this is my code.
class Main {
public static void main(String[] args) {
boolean isTrue;
isTrue = false;
double money;
money = 99999.99;
System.out.println(isTrue, double);
}
}
Thanks a lot if you answer