java several classes code example
Example: creating multiple classes in file
Keep in mind that storing multiple classes per file is discouraged as a bad
practice. I strongly suggest that you split your fine into separate file per
class + one additional file with global functions