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 java thread dump, how can we get java thread dump of a program?
Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods?
wahts is mean by thread?
22 Answers HCL, TCS,
What are the Main functions of Java?
0 Answers Akamai Technologies,
Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?
What are the common problems you have faced while implementing Java?
What do you understand by synchronization?
What is a method header?
How multi processing is achieved in JAVA?
What are the advantages of compiled language?
What's the difference between an abstract class and interface in java?
Difference between Preemptive scheduling vs. Time slicing?