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
Is empty .java file name a valid source file name?
How do you convert an int to a string in java?
How do you join strings in java?
What is generic type?
What is pangram in java?
When should the method invokelater() be used?
Write a java program for binary search?
what is predefined function in java?
What is connection class in java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Is string a datatype?
What is natural ordering in java?
What about anonymous inner classes in java?
What is struts in java?
What is memory leak and how does java handle it?