| Author |
Java destruction
|
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24061
|
|
|
A simple, but funny, entry on TheDailyWTF.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Monu Tripathi
Rancher
Joined: Oct 12, 2008
Posts: 1365
|
|
You really haven't read about JIBE? That's Java Intention Based Execution. The compiler sees the intention of the programmer was to destruct the object, and will generate code to do so....
loved the jibes!
|
[List of FAQs] | [Android FAQ] | [My Blog] | [Samuh Varta]
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
so, what is the conclusion ? why we need this
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
...ehm, we don't. That's the point of the WTF.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Rohan kanade
Ranch Hand
Joined: Oct 22, 2009
Posts: 106
|
|
Seetharaman Venkatasamy wrote:  so, what is the conclusion ? why we need this
since the argument is a object. a copy of the reference value will be passed to the method. so the original object in the heap is still being pointed to.
this class & method does nothing but brainfu*k
|
SCJP 1.6 ,SCWCD 5
|
 |
Vishal Hegde
Ranch Hand
Joined: Aug 01, 2009
Posts: 973
|
|
|
cool.....when will my brain work like that. I mean to understand when to say WTF and Bravo
|
http://www.lifesbizzare.blogspot.com || OCJP:81%
|
 |
 |
|
|
subject: Java destruction
|
|
|