Can you have an inner class inside a method and what
variables can you access?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is bytecode in java ?
What data type is a string?
How can we make string upper case or lower case?
What is a vararg?
i need source code for income tax program using java inheritance
What are the differences between wait() and sleep()?
What is a JAR file?
Explain the features of java?
Ducking is automatic in checked exception?True or false
How to display all the prime numbers between 1 and 100
Difference between the paint() and repaint() methods?
What are the main features of java?