aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes usage of a class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "usage of a class" Watch "usage of a class" New topic
Author

usage of a class

murthy ramana
Greenhorn

Joined: Feb 14, 2007
Posts: 10
hi folks,
how can we use a class without instantiating it directly or indirectly.
thanks,
murthy
Swetha S
Greenhorn

Joined: Dec 06, 2006
Posts: 16
Is it through Abstract class?
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
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.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
murthy ramana
Greenhorn

Joined: Feb 14, 2007
Posts: 10
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
 
Don't get me started about those stupid light bulbs.
 
subject: usage of a class
 
Similar Threads
can non-static inner class access any member
Doubt about diagram class
andrew has wii
WA #1.....word association
Doubt about diagram class (realization)