CJCoding With Joseph
15per day
← Back to Question List
Java Code Walkthrough #20

String Concatenation with Numbers

easyPrinting

📄 Code

Read carefully — what does this print?
1public class Main {
2 public static void main(String[] args) {
3 System.out.println("Result: " + 3 + 4);
4 System.out.println(3 + 4 + " is the result");
5 }
6}

🎯 Your Answer