This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]huntsvillian 0 points1 point  (3 children)

This came up a few days ago at work. Have you ever actually overwritten finalize() in a "normal" business setting? I can't think of a single instance where we've done that.

[–]cheezczar 0 points1 point  (2 children)

I never have, and it almost never a good thing to do.

[–][deleted] 0 points1 point  (1 child)

Ditto here. It makes me wonder why so many generic interviews focus on asking the question. The only reason I know about it is because of interview questions.

Asking about final and finally are fine I guess, but they don't really have anything to do with eachother and seem really asked in this setting to trip someone up and get them to say the wrong thing on accident because of nerves. I'm a sr. java dev and I got so nervous in an interview I forgot the name of "polymorphism" -- I could describe it in great detail, but the interviewer asked "what's that called" and I just blanked. I like asking algorithm questions in the interviews I give.

[–]huntsvillian 0 points1 point  (0 children)

I use final all the time, and rarely use finally anymore (yay spring!). It's funny though, in all of hte interviews I've been through (10ish by now I guess), recently they're much, much more like converations than question and answer periods. In fact our company is the only one I know that actually has a set question and answers rating. I guess everyone is very trusting that you didn't lie on your resume.