This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 19672
    
  18

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: 605

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What are all the possible ways in which we can instantiate the class ?