How can you write the main function in java?