online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
class Circle { // aggregation Square_operation s; double PI = 3.14; double area(int radius) { s = new Square_operation(); int r_sq = s.square(radius); return PI*r_sq; } } class Square_operation { int square(int r) { return r*r; } } public class Main { public static void main(String args[]) { Circle c = new Circle(); System.out.println(c.area(10)); } }

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