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
Can list be final in java?
How many bits is a float?
How does a cookie work in Servlets?
Write a function to print Fibonacci series and Tribonacci series?
What is the scope or life time of instance variables?
What is meant by null and void?
Can we override the static methods?
What is the difference between class forname and new?
What is the driver class?
Can we extend singleton class in java?
What is static import in java?
Write a program to print the pattern given below
Differences between C and Java?
Is array primitive data type in java?
write a program that list all permutations of ABCDEF in which A appears before B?