HIMANSHU AGGARWAL
HIMANSHU AGGARWAL answered
Public- the method can be accessed anywhere within the class or outside the class or even outside the package as well. Static- the method is shared by all the objects and it does not need any instantiation to be called. Void- this particular main() cannot return any value so here we have to use void; … Read more