+ 6
Java: "Which operator is used for the destructor?"
I saw this question in a Java challenge, I chose ~ for the answer. But does Java have destructor? How can I report a wrong question?
4 Answers
+ 8
the finalise() method may come close but i don't see it
this is more of a c++ issue
yes lol i think i know that question. i crossed out ~ as i knew it was c++
btw we should start a wrong challenge thread
+ 4
Yeah there is no operator for a deconstructor with Java. You can try simulating one, but that's about it.
+ 2
U can report Question :
After u finish the challenge that have a question you want to report it.
Press on it (the challenge) then vuew correct answer.
The question u want to report it there is an i shape at the top.
U can press on it & report the Question.
+ 1
@lolyman: maybe you can post a comment on my code and I can reply you there.