• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how many ways are there to instantiate an object

 
saikrishna cinux
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

actually how many ways are there to instantiate an object?and what are there?


please give me the code :-D

thanks
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question was asked before. Do a search and dig it out. I think it was either in one of the java in general forums or the SCJP forum
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic