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
How do you define a set in java?
Can I declare class as static or private?
What is a container in a gui?
What is difference between pointer and reference?
How many bytes are there?
what are the methods in object?
What is function and method in java?
What is ctrl m character?
What is appletviewer?
What happens when I use / and % with a negative numerator?
What is complexity in java?
Is it possible to write a regular expression to check if string is a number?
What are the two basic ways in which classes that can be run as threads may be defined?
What is method overloading and method overriding?
What is the right data type to represent a price in java?