Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' Gambas class file
- Public Sub usarMotorComun()
- Dim m As New MotorComun
- M.encender()
- m.acelerar()
- m.apagar()
- End
- Public Sub usarMotorEconomico()
- Dim m As New MotorEconomico
- M.encender()
- m.acelerar()
- m.apagar()
- End
- Public Sub usarMotorElectrico()
- Dim m As New MotorElectricoAdapter
- M.encender()
- m.acelerar()
- m.apagar()
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement