A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Introducing JavaFX 8 Programming
this week in the
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
Question in K&B Book - protected class
Passing an object to a method.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015