Java runs on a computer with a JDK - the steps are the check.
Type int ten =10;
Notes
Java can't compile in the browser - read the steps and type the code into the editor. Run it on your own machine when you're ready (any IDE with a JDK works).
Reference
int ten = 10;
String str = "ten";
System.out.println(ten + str);