source: java2python/core/test/testcode/HelloWorld.py@ 404

Last change on this file since 404 was 404, checked in by wouter, 2 years ago

#122 refactoring, creating separate packages for java core and jackson-translator (jackson-t)

File size: 356 bytes
Line 
1import sys
2from typing import List
3
4class HelloWorld:
5 '''
6 Test for translation to python.<br>
7 Extra line for multiline-test.
8 '''
9 __username:str = "Jan"
10 __lastname:str = "Coens"
11 @staticmethod
12 def main(args:List[str]) -> None:
13 sys.stdout.write("Hello " + HelloWorld.__username + "!"+'\n')
14if __name__ == "__main__":
15 HelloWorld.main(sys.argv[1:])
Note: See TracBrowser for help on using the repository browser.