Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (398)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
main method is a standard method used by JVM to execute any java program(Java SE). - Why main method is public?
main method is a standard method used by JVM to execute any java program(Java SE). - Why main method is public?
✍: Guest
To call by JVM from anywhere main method should be public.
If JVM wants to call our method outside of our package then our class method should be public.
package instanceofjava;
public MainDemo{
public static void main(String [] args){
}
}
2015-07-01, 1312🔥, 0💬
Popular Posts:
Why I am getting the "FTP over TLS is not enabled, users cannot securely log in" waring on my FileZi...
How to troubleshoot Fitbit device sync issue? My Fitbit device is connected to my Windows computer, ...
Is Tahoma font supported on iPhone, iPad and other Apple devices? The answer is no. Tahoma font is n...
How to add or change the footer on a layout in PowerPoint? I want my slide footers to have the same ...
How to unzip an XPS (XML Paper Specification, .xps) file? According to Microsoft documentation, an ....