What happens when a main method is declared as private?
Answer Posted / r.jainrocks@gmail.com
Byte that have main() implementation can become starting
point of program .
if a program have no main()
i.e.
public static void main(String[] args)
properly it can't become starting point in application
it can be use through other program which capable to become
starting point.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is bufferedreader in java?
What is math floor in java?
what type of questions asked for barclays technologies pune please send urgent
Write a program to solve producer consumer problem in java?
What are the high-level thread states in java programming?
What is the difference between equals() and == in java?
what do you understand by synchronization? : Java thread
How do you replace all in word?
Is ++ operator is thread safe in java?
What will happen if static modifier is removed from the signature of the main method?
Which oo concept is achieved by using overloading and overriding?
Can we use both this () and super () in a constructor?
What are wrapper classes in java?
What is java and their uses?
Why collection is called framework in java?