source:
java2python/core/test/testcode/HelloWorld.py@
458
Last change on this file since 458 was 458, checked in by , 18 months ago | |
---|---|
File size: 281 bytes |
Line | |
---|---|
1 | import sys |
2 | from typing import List |
3 | |
4 | |
5 | class HelloWorld: |
6 | |
7 | __username:str = "Jan" |
8 | __lastname:str = "Coens" |
9 | @staticmethod |
10 | def main(args:List[str]) -> None: |
11 | sys.stdout.write("Hello " + HelloWorld.__username + "!"+'\n') |
12 | |
13 | if __name__ == "__main__": |
14 | HelloWorld.main(sys.argv[1:]) |
Note:
See TracBrowser
for help on using the repository browser.