JDoodle

Easy and Quick way to compile and run Java Code Online

Java
Version - JDK 1.8.0_66
Project Name :
Your Code ...
public class MyClass { public static void main(String args[]) { int x=10; int y=25; int z=x+y; System.out.println("Sum of x+y = " + z); } }
External Libraries ...
Input Arguments (args of Main Method)...
Result...
compiled and executed in second(s)
Hint - Press Ctrl+Space or Alt+Space for Auto Complete.
Your valuable inputs will help us improve this site
please give your comments. Thanks.
Which language would you like to see next in JDoodle?
Comments/Suggestions/Inputs...
Please Login to use this option....