What happens when a main method is declared as private?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vani
Nothing Happen.
Code compiles properly and executes properly.
Is This Answer Correct ? | 5 Yes | 76 No |
How can the checkbox class be used to create a radio button?
can we add two numbers without using arthematic operators? if possible how?
What is jagged array in java?
What is volatile data type?
Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types
Write a program for recursive Traverse?
Write a program to find the whether a number is an Armstrong number or not?
How do you sort a set in java?
What is the super void?
what is collections in java?
What is java dot?
What is charat java?