Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

usage of a class

 
murthy ramana
Greenhorn
Posts: 10
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it through Abstract class?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic