What will happen if we declare don’t declare the main as static?
Answer Posted / nashiinformaticssolutions
Without utilizing static and without encountering any issues, we may declare the main method. However, the primary method will not be regarded as the program's or application's entry point.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the six ways to use this keyword?
What is math in java?
Can we use String with switch case?
Explain Basics of OOP Language in java
What is difference between stringbuffer and string?
Explain the difference between comparator and comparable in java?
What is the point of polymorphism java?
How many types of flags are there?
Which variable is the independent variable?
What are inner classes or non static nested classes in java?
Is linked list a linear or non-linear data structure?
What is a generic type?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
Do I need java on my computer?
What's the base class of all exception classes?