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
What is the independent variable in an experiment?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is the difference between sleep and wait in java?
How many bits is a double?
How do you create a first line indent?
What is supplier in java?
How to do encapsulation in java?
What are the main differences between the java platform and other platforms?
What is 16 bits called?
What is a boolean expression in java?
What is the use of a conditional inclusion statement in Java ?
What is the difference between a loader and a compiler?
What is singletonlist in java?
Can a top level class be private or protected?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent