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 java abstraction with example?
What is the difference between sop and work instruction?
What does yield method of the thread class do?
What is serialization in java?
Give an example of call be reference significance.
Define how does a try statement determine which catch clause should be used to handle an exception?
What are inbuilt functions in java?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
Are primitives objects?
Can a class have 2 constructors?
What are the disadvantages of object oriented programming?
Can we define private and protected modifiers for variables in interfaces?
What is the use of pattern in java?
What is array class in java?
How do you print array in java?