java maiun code example Example: java main class myClass { public static void main(String[] args) { // code } }