What happens when a main method is declared as private?
Answer Posted / vani
Nothing Happen.
Code compiles properly and executes properly.
| Is This Answer Correct ? | 5 Yes | 76 No |
Post New Answer View All Answers
What does the three dot emoji mean?
What is an example of a keyword?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is regex java?
Explain about procedural programming language or structured programming language and its features?
What is the difference between the ">>" and " >>>" operators in java?
What is internal variable?
What is the difference between instanceof and isinstance?
how does multithreading take place on a computer with a single cpu? : Java thread
What is collection api?
When is the finalize() called?
Can we catch more than one exception in a single catch block?
What is hasnext in java?
Explain the importance of throwable class and its methods?