If a class contains a main method, that method is executed

automatically when the class is run.
when another method within the class calls it.
when an object is created from the class.
None of the above