Select to view content in your preferred language

Final Java classes that should not be final, or vice versa?

361
0
01-26-2023 01:29 PM
hectorsalamanca
Deactivated User

In a recent interview, I was asked the following question:

Can you think of any classes in the Java API that should not be final or that should be but aren't'?

I couldn't come up with any. The question suggests that I should know all of the API classes like the back of my hand, which I don't think any Java developer should.

Please offer examples if you know of any such classes.

Tags (1)
0 Kudos
0 Replies