Answer Posted / honey
main class can not be make private in java ,only the nested class can be make privateand it can be assessable only in the main class not access by any other class in the package.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Which command from the jdk compiles a java program?
What is double parsedouble in java?
Explain the differences between abstraction and encapsulation?
Who is founder of java?
Does sprintf allocate memory?
How do you bind variables?
What are the differences between abstract class and interface?
What is string pool?
What is anagram of a string?
What is join () in java?
How do you do absolute value in java?
What happens to the Exception object after handling an exception?
What is equals method in java?
Do you know how to reverse string in java?
Can you tell me range of byte?