What happens when a main method is declared as private?
Answers were Sorted based on User's Feedback
Answer / varsha vilas kalebag
IF MAIN METHOD IS DECLARED AS PRIVATE ,THEN WE CAN NOT
ACESSES THE PRVIATE MEMBERS IN ANOTHER CLASS
| Is This Answer Correct ? | 5 Yes | 43 No |
Answer / vani
Nothing Happen.
Code compiles properly and executes properly.
| Is This Answer Correct ? | 5 Yes | 76 No |
what is auto boxing
What is the statements?
Write a program to find maximum and minimum number in array?
Can we declare a class as static?
What is bean? Where it can be used?
What methodology can be utilized to link to a database?
Which Component subclass is used for drawing and painting?
what questions are been asked ??? for interview in apti
finalize() method?
Explain the use of sublass in a java program?
primitive data types in Java ?
What is a boolean structure?