aspose file tools*
The moose likes Beginning Java and the fly likes Object of static class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Object of static class" Watch "Object of static class" New topic
Author

Object of static class

Abhishek Bose
Greenhorn

Joined: Dec 14, 2009
Posts: 24



Can we create an object of a static class?

[Edit - formatting]
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4467
    
    8

Yes. But if you've run your code, surely you know that already? Or is something happening that you didn't expect?
 
 
subject: Object of static class