A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Programmer Certification (SCJP/OCPJP)
doubt on Inner class
Joined: Feb 18, 2007
Mar 21, 2007 10:46:00
Can their be a static variable in a inner class?
Joined: Oct 02, 2003
Mar 21, 2007 10:51:00
please don't post the same question twice.
In answer to your question - have you tried it?
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I agree. Here's the link:
subject: doubt on Inner class
Passing an object to a method.
Question in K&B Book - protected class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014