samples.categories.methods.arguments-default.pec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WebSite Show documentation
Show all versions of WebSite Show documentation
Prompto Documentation Web Site POM
define Person as category with attribute name, and methods:
define printMessage as method receiving Integer count = 2 doing:
printLine this.name + " has " + count + " parents"
define main as method doing:
person = Person with "Shubadha" as name
person.printMessage
© 2015 - 2024 Weber Informatics LLC | Privacy Policy