wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes How many ways can we create an object? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How many ways can we create an object?" Watch "How many ways can we create an object?" New topic
Author

How many ways can we create an object?

Bhairava Surya
Ranch Hand

Joined: Aug 19, 2007
Posts: 45
Hi all,
How many ways can we create an object? Also please provide a proper example for each?

Thanks,
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39409
    
  28
Several different ways. This question comes up every now and again; here is a thread from last year where somebody else asked the same question.
 
Don't get me started about those stupid light bulbs.
 
subject: How many ways can we create an object?