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
Is 0 a real number?
Explain about automatic type conversion in java?
What is string in java with example?
Why are global variables used?
What is thread life cycle?
How do I get 64 bit java?
What are different types of control structures?
Is java 11 paid version?
can used Protected Class outside Function.?
What is synchronization and why is it important in java programming?
Can we sort arraylist in java?
What is string builder?
Can we have two main methods in a java class?
How do you end a program?
What is the difference between call by reference and call by pointer?