Results 1 to 2 of 2

Thread: how to use finalize method in java ? can anyone help to write simple program ?

  1. #1
    Join Date
    Feb 2008
    Posts
    1

    Default how to use finalize method in java ? can anyone help to write simple program ?

    i have read about finalize method , but not able to understand ? can any one explain with program ?
    Powered by Yahoo!

  2. #2
    Join Date
    Feb 2008
    Posts
    1

    Default ans

    protected void finalize()
    {

    //close ur connection objects and etc here

    }

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •