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 |
How do you find the independent variable?
What is a vararg?
what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?
What is a double?
what is difference betwwen hashmap and hashtable ?
What is a local block?
Why is multithreading important?
What are the difference between composition and inheritance in java?
What is predicate in java?
What is string length in java?
How do you identify independent and dependent variables?
Define the term string pool?