← Back to Question List
Java Code Walkthrough #20
String Concatenation with Numbers
📄 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}