Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How many ways can we create an object?

 
Bhairava Surya
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
How many ways can we create an object? Also please provide a proper example for each?

Thanks,
 
Campbell Ritchie
Sheriff
Posts: 48424
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic