Sign in to test your solution.
public class Verkeerslichten
{
private String kleurHoofdweg;
private String kleurZijweg;
public Verkeerslichten()
{
kleurHoofdweg = "groen";
kleurZijweg = "rood";
}
public String getKleurZijweg()
{
return kleurZijweg;
}
public String getKleurHoofdweg()
{
return kleurHoofdweg;
}
}
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.