@ -21,7 +21,11 @@ public class CDPlayer implements Device {
@Override
public void louder() {
if(volume < 100) {
volume += 1;
} else {
volume = 100;
}
@ -31,7 +35,7 @@ public class CDPlayer implements Device {
public int getVolume() {
return 0;
return this.volume;