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 |
Why can we not override static method?
What is the difference between the continue and break statement?
What will be the output of round(3.7) and ceil(3.7)?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
Why java does not support pointers?
What do you mean by compiler?
I have an HashMap object, which has with key and value pair. It has 10 keys and values in that object. Now the question is I want insert new key and value in middle or any where in that list but not at the end or at the top. Is it possible or not. If yes how can we achieve this one?
What is the difference between declaration and definition in java?
what is Abstract DataType?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What is use of super keyword in java?
what is the use of clone method? why user cant overwrite in sub class without its proper defination.