online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online Java Compiler. Code, Compile, Run and Debug java program online. Write your code in this editor and press "Run" button to execute it. *******************************************************************************/ public class Main { public static void main(String[] args) { Student s1 = new Student(1234567, "Wendland", "Lorenzo"); Student s2 = new Student(2383293, "Duric", "Luka"); Student s3 = new Student(9348292, "Sindermann", "Mara"); Student s4 = new Student(2948291, "Hägele", "Gregor"); Student s5 = new Student(3766666, "Sawako", "Kyoko"); Student s6 = new Student(2222222, "Opitz", "Fabio"); System.out.println(s1.getName()); } }
public class Student { //Attribute private int matrikelnummer; private String vorname, name; //get() public int getMatrikelnummer() { return matrikelnummer; } public String getVorname() { return vorname; } public String getName() { return name; } //set() public void setMatrikelnummer(int matrikelnummer) { this.matrikelnummer = matrikelnummer; } public void setVorname(String vorname) { this.vorname = vorname; } public void setName(String name) { this.name = name; } //Konstruktor public Student (int matrikelnummer, String vorname, String name) { this.matrikelnummer = matrikelnummer; this.vorname = vorname; this.name = name; } }
public class Modul { //Attribute private String modulname, verantwortlicher; private int sws, credits; //get() public String getModulname() { return modulname; } public String getVerantowortlicher() { return verantwortlicher; } public int getSWS() { return sws; } public int getCredits() { return credits; } //set() public void setModulname(String modulname) { this.modulname = modulname; } public void setVerantwortlicher(String verantwortlicher) { this.verantwortlicher = verantwortlicher; } public void setSWS(int sws) { this.sws = sws; } public void setCredits(int credits) { this.credits = credits; } //Konstruktor public Modul (String modulname, String verantwortlicher, int sws, int credits) { this.modulname = modulname; this.verantwortlicher = verantwortlicher; this.sws = sws; this.credits = credits; } }
public class Leistung { //Attribute String prüfer; double ergebnis; Modul m ; //get() public String getprüfer() { return prüfer; } public double getergebnis() { return ergebnis; } //set() public void setprüfer(String prüfer) { this.prüfer = prüfer; } public void setergebnis(double ergebnis) { this.ergebnis = ergebnis; } //Konstruktor public Leistung(String prüfer, double ergebnis) { this.prüfer = prüfer; this.ergebnis = ergebnis; } }

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