Execution of java program with multiple class
For the car program given in the notes.I compiled the program using "javac Car.java" command.The program is getting compiled but when i am giving the command"java Car" to run the program, i am getting the error message"exception in thread"main" java.lang.No such Method error:main".
But when i executed the same program on eclipse"platform for executing java pgm" it is getting executed.Help me with the reason behind it.