main Method
The usual starting point of a Java application.
What is main Method in Java?
main Method — The usual starting point of a Java application.
class Greeting {
public static void main(String[] args) {
String message = "Hello, Java!";
}
}
Level: Novice · More Java terms at this level
Updated