A jar file has many methods in it. When I run the following: java -jar TheProgram.jar T the main method in TheProgram is executed with a parameter of T.
Is there a way to execute one of the other methods in TheProgram.jar, say otherMethod(), by saying something like java -jar TheProgram.jar /otherMethod T?
Thank you.