Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
can i created more than one object of a static class?
basanta dwibedy
Greenhorn
Posts: 23
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
As per my knowladge for static inner class we can created only one object.
Its same as singletorn class . Is it possible to create more than one object of static class.
please tell me the way or if i am wrong
Peter Chase
Ranch Hand
Posts: 1970
1
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This sounds all wrong. You can create as many instances as you like of a static inner (a.k.a. nested) class. The "static" refers to whether objects of the inner class have an implicit reference to the instance of the enclosing class.
Read a good
Java
book for more.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Singleton object with multiple class loaders
Basic question: how many servlet instance are created ?
Singleton Classes
Singleton vs Static
Runtime - special - why ?
More...