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
How to make a non daemon thread as daemon?
Can you explain the usages of class.forname()?
What is compiler and what its output.
What is string and its types?
Difference between operator overloading and function overloading
Tell me the Importent classes in net package?
What is the impact of declaring a method as final?
What is main string [] args?
What is an empty string in css?
What is treemap in java?
What is method and methodology?
Can inner class extend any class?
How do you join strings in java?
make a method which any number and any type of argument and print sum of that arguments.....
Why java is considered as platform independent?