aspose file tools*
The moose likes Java in General and the fly likes  What are all the possible ways in which we can instantiate the class ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark " What are all the possible ways in which we can instantiate the class ?" Watch " What are all the possible ways in which we can instantiate the class ?" New topic
Author

What are all the possible ways in which we can instantiate the class ?

muruga dhanapal
Greenhorn

Joined: Jun 02, 2010
Posts: 24
Hi All,
What are all the possible ways in which we can instantiate the class ?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19557
    
  16

Welcome to the Ranch!

This sounds like either an interview question or a homework question. Have you already searched around? Both Google and this site itself have many results for this question.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 597

I bet this question comes up every couple of months if not more. Seen it a couple of times myself.
Best advise I've see is what Rob said above


Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
 
wood burning stoves
 
subject: What are all the possible ways in which we can instantiate the class ?
 
Similar Threads
WML and EJB
sharing data
What are differences in the two ways of creating threads
Is Interface a datatype?
How to instantiate different object