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
Explain abstract class in java?
Which is the class in java?
Is java a prime method?
What is linkedlist in java?
What is a conditional equation?
What is encapsulation in java?
What are the legal operands of the instanceof operator?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
How can we make copy of a java object?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
Which variables are stored in stack?
What is the mapping mechanism used by java to identify IDL language?
What is the concatenation operator in java?
What are autoboxing and unboxing? When does it occur?
When is the arraystoreexception thrown?