Activity

  • kamal Kumar posted an update in the group Group logo of Java Interview  QuestionsJava Interview Questions 5 months, 4 weeks ago  · 

    Explain public static void main (String args[ ])

    public − it is the access specifier.

    static − it allows main() to be called without instantiating a particular instance of a class.

    void − it affirns the compiler that no value is returned by main().

    main() − this method is called at the beginning of a Java program.

    String args[ ] − args parameter is an instance array of class String