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
Why can't you declare a class as protected?
Why is singleton not thread safe?
What is the full name of java?
What is math in java?
What is the length of a string?
How do you use substring in java?
What is int argc char * argv?
Why do we need wrapper classes?
Is singleton class immutable?
Why is stringbuffer called mutable?
What is maximum size of arraylist in java?
What is the functionality of the stub?
What is t type java?
How many decimal places is a double?
Explain covariant method overriding in java.