Can you have an inner class inside a method and what
variables can you access?
Answer Posted / kabita
yes we have.it is called local inner class.it can access
only final variables of outer class.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Is oracle charging for java?
What does index mean in java?
Explain abstract class in java?
How java enabled high performance?
What are the limitations of procedural programming approach?
What happens when heap memory is full?
What is double checked locking in singleton?
How can I debug the Java security exceptions and AccessControlExceptions?
What is a memory leak in java?
What are operators and its types?
What access modifiers can be used for class ?
Explain about doubly linked list
What does indexof mean?
What method is used to specify a container's layout in java programming?
What is the difference between an interface and an abstract class?