What happens when a main method is declared as private?
Answer Posted / 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 |
Post New Answer View All Answers
What is the purpose of garbage collection in java, and when is it used?
What is the difference between an array and an array list?
Explain aggregation in java?
What is enhanced loop in java?
Is it possible to use string in the switch case?
What is the argument in java?
What is final int?
what is difference betweem home interface and remote interface?
Can we have this () and super () together?
What are multiple inheritances?
What do you mean by compiler?
When is the arraystoreexception thrown?
What are the two environment variables that must be set in order to run any java programs?
What is a ternary operator in java?
What are controls and their different types in awt?