online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
class A{ int x, y, z; A(){ x = 1; System.out.printf("Constructor A\n"); } } class B extends A{ B(int y, int z){ System.out.printf("Constructor B\n"); this.y = y; this.z = z; } public static void main(String[] args){ B b = new B(2, 3); System.out.printf("x = %d, y = %d, z = %d\n", b.x, b.y, b.z); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

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

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue