CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

String Concatenation with Numbers

Java code walkthrough · Question 20
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