online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
class Main { int _val; static int _sval=10; Main(int val, int sval) { this._val=val; _sval=sval; } public static void main(String[] args) { Main obj = new Main(10,20); System.out.println(_sval); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.