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

Simple Addition Print

Java code walkthrough · Question 11
easyPrinting

Code

Read carefully. What does this print?
1public class Main {
2 public static void main(String[] args) {
3 int x = 4;
4 int y = 7;
5 System.out.println(x + y);
6 }
7}

Your answer