Public static void main - Explain?

Public static void main - Explain?

public is a access modifier, static means dosent belongs to an object, void means main does not return any value, main( ) is the method called when a Java application begins.

By:Sumit Tripathi
Date:2025-05-15 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher