A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Jun 06, 2004
Jun 07, 2004 06:43:00
A non-inner class cannot cantain static variables. Why?
Joined: Oct 12, 2000
Jun 07, 2004 07:11:00
you'd better rephrase that, because a non-inner class (i.e. any class that's not an inner class) can have static members to its heart's content.
I agree. Here's the link:
subject: Inner classes
static inner class instantiation
werid output for For loop
What is a class file with $ symbol in the name
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014