(This is a simple question. you can answer it like a striking bullet(straight to the point).)
To start an application we need to use a main() method.
There are two uses of main() method
- to test your real class(where you have written the actual code class)
- to launch/start your java application.