File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

usage of a class

 
murthy ramana
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
how can we use a class without instantiating it directly or indirectly.
thanks,
murthy
 
Swetha S
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it through Abstract class?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think, or is this some homework or interview question?
Please show some effort that you have attempted to answer the question yourself.
 
murthy ramana
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
thanks for the replies. One of my friend has asked me this question. I told him that we can use a class through an abstract class. But i want to make sure that it is the only way to use a class without instantiation.

expecting some more replies,
thanks,
murthy.kvr
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic