Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

what is tostring() & finalize() in java

View previous topic View next topic Go down

GMT + 3 Hours what is tostring() & finalize() in java

Post by Diya Sun May 29, 2011 2:58 pm

Dear sir why these to functoins have been used in java codeing in handouts???
Diya
Diya
Monstars
Monstars

Taurus Goat
Posts : 364
Join date : 2011-02-08
Age : 33
Notworthy

Character sheet
Experience:
what is tostring() & finalize() in java Left_bar_bleue10/500what is tostring() & finalize() in java Empty_bar_bleue  (10/500)

Back to top Go down

GMT + 3 Hours Re: what is tostring() & finalize() in java

Post by Vuhelper Sun May 29, 2011 2:59 pm

tostring() & finalize()
toString() returns a string containing all data stored in object attributes.
finalize() runs when object is being destroyed.
avatar
Vuhelper
Deep Bench
Deep Bench

Posts : 97
Join date : 2011-05-29

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum