This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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