Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

asking about lazy initilization in java

 
kumar abhay
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,
i hope u ppl r doing fine.i wanna know about "lazy or delayed initilization" in java.plz let me know with a demonatration.
thanks in advence
takle care
kumar abhay
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

lazy instantiation is used to delay the creation of expensive object. expensive objects are objects which take lots of time/resources to create.
the creation of this objects is delayed until the are needed


k
[ March 07, 2002: Message edited by: karl koch ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic