Artefact:Template/org/oogenerator/examples/tutorial/Example0080 JavaCode2

From OOModels
Jump to navigationJump to search
Classification
Type Type:org/oogenerator/Template/2.0
Domain Domain:it/development/formatting
Category Type:org/oomodels/wiki/Template
Maturity final
More
Download Code
Namespace (more)

OOGenerator main package

create new pages

Do not edit manually!

Code[edit]

G-2.0-plain_java-1.0
⊰
   This templates demonstrates the embedding of arbitrary
   types of Java code.
⊱
« String greeting = "Hello, world!"; »

    ◂greeting▸

« if (1 == 2) { » Something is wrong here. « } »

Countdown: « for (int i=10; i>=0; i--) { » ◂i▸« } »