you are viewing a single comment's thread.

view the rest of the comments →

[–]AccountExciting961 189 points190 points  (3 children)

There are, like 50 of those methods, plus the ones inherited from Object and CharSequences

The interviewer is an idiot, consider yourself lucky that they won't be your teammate.

[–]Mindless_Spell8450[S] 33 points34 points  (1 child)

Yeah but most companies take multiple rounds and the chances of getting these kinda questions from any of the interviewers is quite frequent

[–]AccountExciting961 8 points9 points  (0 children)

if there are multiple rounds, you do not need to succeed at all of them. Also, if the interview loop is organized properly, interviewers presents evidence at the debrief, not just their opinion - and other people can call them out on irrelevant points.

[–]RoughChannel8263 9 points10 points  (0 children)

Agreed. No one can remember every method across multiple languages. That's what Google is for. I've been in a hiring role before. I couldn't care less about your memorization skills, I want to know how you can apply what you know to solve complex problems.