File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 4240
    
    7

Yes. But if you've run your code, surely you know that already? Or is something happening that you didn't expect?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object of static class
 
Similar Threads
Static example
Where do static variables (class variables) live (scope)?
Static question
Synchoronizing a static method
About getClass() method usage