best answer > Why public static void main is used in Java 2024?- QuesHub | Better Than Quora
  • Why public static void main is used in Java?

    它是 说明符 将被

    Questioner:Noah Lee 2023-05-05 14:09:54
The most authoritative answer in 2024
  • Amelia Ramos——Studied at the University of Cape Town, Lives in Cape Town, South Africa.

    public : it is a access specifier that means it will be accessed by publically. static : it is access modifier that means when the java program is load then it will create the space in memory automatically. void : it is a return type i.e it does not return any value. main() : it is a method or a function name.read more >>
    +119962023-05-11 14:09:54

About “它是、说明符、将被”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消