interfaces y herencia
DESCRIPTION
POOTRANSCRIPT
7/21/2019 Interfaces y Herencia
http://slidepdf.com/reader/full/interfaces-y-herencia 1/1
INSTRUMENTOS
MUSICALES
+ tocar() : void
Viento
- "Estoy soplando una flauta": int
Cuerda
- "Estoy rascando un violin": int
Percusión
- "Estoy golpeando el instrumento de bombo": int
Orquesta
- Bombo: int
- Cuerda: int
- Flauta: int
+ afinar() : void
+ tocar() : void
«interface»
Interface1
+ imprimir "Empezamos el Conciertazo"() : void
+ imprimir "Estoy afinando el:"() : void«flow»