What modifiers can be used with a local inner class?
Answers were Sorted based on User's Feedback
we can use final or abstract for a local inner class .
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / payal
we can use static modifier with local inner class...it can
be non static also.
| Is This Answer Correct ? | 6 Yes | 2 No |
Is the milky way in a void?
What is the difference between && and & in java?
What is the purpose class.forname method?
Why can't we override private static methods?
Can an abstract class be final?
What does system.gc() and runtime.gc() methods do?
What is singleton math?
What is numeric data type?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
Explain the importance of finally block in java?
What is data type example?
How many types of design patterns are there?