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 |
C and C++ has constructors and distructors, why does Java does not have distructors?
give me the answer of this code class A extnds String This code we can write r not in Java? Explain?
Explain the difference between Unicast and Multicast objects?
What is an array length?
Is passing by reference faster?
What is the gregoriancalendar class in java programming?
What is meant by interface?
what's diff between struts 1.1 & 1.2
When arithmeticexception is thrown?
How applets will communicate with each other?
what ide u r using and wat version, how wil u build the project etc ?
What is number data type?