java - How does Karel run without "main" method? -
I was thinking like a run in the program because it does not use the main () method instead of it () method Used:
Import Stanford. Karel Karel; Public Class Collect Notes Kerala Kerala (Public zeroless) (move ()); }}
How does this work?
The actual main method is elsewhere, for example, when Java program executes, The runner is actually executing the main method in class. Your run method is called that runner code.
Comments
Post a Comment