Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @file Persona.ceylon
- * @version 0.1
- * @author Ariel Carraro
- * @date 28.diciembre.2012
- * @url codemonkey
- * @description Programa que imprime un mensaje
- */
- doc "Clase Persona"
- by "Ariel Carraro"
- class Persona(){
- shared void verMsg(){
- print("funcionando...desde Ceylon");
- }
- }
- //se pude considerar la función "main" del programa
- void run(){
- verPersona(Persona());
- }
- void verPersona(Persona persona){
- persona.verMsg();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement