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 |
What are the methods of object class ?
What type of variable is error flag?
This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?
How to find the index of the largest number in an arraylist java?
Is void a type?
Differece between class and generic class?
Can a class have multiple subclasses?
How can we create a object of a class without using new operator.
How to do a true java ping from windows?
Difference between static binding and dynamic binding?
Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?
Differentiate between class and structure.