online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
class Car { int speed; String model; void display() { System.out.println(model + " " + speed); } } public class Main { public static void main(String args[]) { //object creation Car swift = new Car(); swift.display(); Car eco = new Car(); eco.speed = 500; //it will display speed but not model eco.display(); } }

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