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 |
Can private class be extended java?
How many digits can a float hold?
What is a text string?
what is Vector class?
what is difference between prepare stetement and callable starement with example?
How can we use primitive data types as objects?
What are the types of java?
What are the differences between heap and stack memory in java?
How to check if a list is sorted in java?
How do we make a class serialize?
How can you reverse a string?
What are scriptlets?