What does public static void main(string[]) mean?
Answer / Chakresh Kumar
public static void main(String[] args) is the entry point of a Java program. The keyword 'public' makes the method accessible from any other class, 'static' means that it can be called without creating an object of the class, and 'void' indicates that the method does not return a value. The 'String[] args' part signifies that the main method accepts a string array as its argument, which contains command line arguments passed to the program.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is constructer?what are the type of constructer with example.
Write a class which checks whether a given number is prime or not. Write another class to implement the behavior of previous class and print the series of twin prime number upto a given range.
What is jersey in java?
What is the singleton class in java?
Can the main method be declared final?
Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?
What is a cookie in java?
what are the steps in JDBC connectivity..???
What is the use of servlet in java?
What is a delimiter in java?
How long can a lambda function run?
write a code in jsp to swap two numbers?