0

Here are few questions that you could expect when attending a Java interview

1 - In which programming paradigm Java 8 falls?
2 - What is MetaSpace? How does it differ from PermGen?
3 - What are functional or SAM interfaces?
4 - What are static methods in Interfaces?
5 - What are the various categories of pre-defined function interfaces?

Comments
  • 2
    More like an exam at uni
  • 1
    No, these are terrible interview questions. 1 is too obvious. 2 is completely irrelevant to all but a handful of devs. 3 is vaguely ok. 4 doesn't make much sense, there's not really any difference between a static method on a class or interface. 5 makes no sense whatsoever - I've no clue if you're after functions, predicates, suppliers, consumers , or you're after some other functions in another library, or categories of use cases for these functional interfaces, or something else entirely.

    Honestly, if I were asked this sort of crap at interview, I'd take it as a sign no-one had a clue what they were doing and probably leave.
Add Comment