What happens when a main method is declared as private?
Answer Posted / sagar chavan
If the main function is made private,
we can do it but the starting point of project should be changed. By default it is main.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is static class
How to perform merge sort in java?
What does three dots mean in java?
What is the static field modifier?
What is anti pattern in programming?
What will happen when using pass by reference in java?
Can main() method in java can return any data?
What is the difference between a method and a function in alice?
Where local and global variables are stored?
What is serial version uid and its importance in java?
What does g mean in regex?
How can we make a class singleton?
Can we rethrow the same exception from catch handler?
What is hashmap in java?
What are the advantages of assembly language?