Can you have an inner class inside a method and what
variables can you access?
Answer Posted / janet
yes, we can have an inner class inside a method and final
variables can be accessed.
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is a java object and java application?
How to use Media tracker Class.
What is a static class in java?
What is remote method invocation (rmi)?
Difference between final and effectively final ?
Explain about fail safe iterators in java?
What is high level language in computer?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is a singleton class? Give a practical example of its usage.
What is a nested list?
What does this () mean in constructor chaining concept?
Is static a keyword in java?
What is meant by data hiding/encapsulation?
Why is sizeof not a function?
What are the advantages of passing this into a method instead of the current class object itself?