can we declare private class in java file?
Answers were Sorted based on User's Feedback
Answer / aditya kumar
yes,from Java8 we can also declare private and protected Top level classes.....but i am not getting the reason behind this why oracle did it.So if any one has it's explanation plz tell me....
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / varsha vilas kalebag
yes we can declare private class in java file
Is This Answer Correct ? | 46 Yes | 131 No |
What is constructor in java ?
How can you generate random numbers in java?
What function extracts specified characters from a string?
What is the return type of a program?s main() method?
How to declare objects of a class ?
0 Answers Akamai Technologies,
What is console based application in java?
Matrix multiplication only using OOP concepts .
What is aggregation and composition ?
What is the reflection?
What is the primitive type short?
What is deserialization?
Can we call the run() method instead of start()?