Created
May 30, 2021 08:39
-
-
Save ssukhpinder/95895731e860985d362e8c16aec49b26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AdvanceMusic : CarDecorator | |
{ | |
public AdvanceMusic(Car car) : base(car) | |
{ | |
} | |
public override int CarPrice() => _car.CarPrice() + 3000; | |
public override string GetName()=> "Alto Lxi with advance music system"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment