1.

Which of the following is not a marker interface?(a) Serializable(b) Cloneable(c) Remote(d) ReaderThis question was posed to me in a job interview.Question is from Reflection API in portion Session Management, JSP & API of Java

Answer» RIGHT choice is (d) Reader

The best explanation: Reader is not a MARKER interface. Serializable, Cloneable and Remote INTERFACES are marker interface.


Discussion

No Comment Found

Related InterviewSolutions