Can I have a static inner class inside a method(local static inner class).
------------------ Shailendra Bade Mumbai, India Mail to: bades@vsnl.com
Shailendra Bade<BR>Mumbai, India<BR>Mail to: bades@vsnl.com
Junaid Bhatra
Ranch Hand
Joined: Jun 27, 2000
Posts: 213
posted
0
No. Within a method, the only modifier you can use is final. You cannot use private, protected, public, static, etc inside a method. Hence you cannot declare a local static inner class.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.