โ Back to Printing
Question 12
Boolean Variable Print
Boolean Variable Print
Create a boolean variable calledisJavaFunwith the valuetrue. Use System.out.println() to display it in the sentence: Java is fun: true Use string concatenation with the + operator to combine the text with your boolean variable.
Expected Output:
Java is fun: true
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.