Mock Exam question
Which of the following are true about the class defined inside an interface
1. it is not possible in the
java Laungage.
2. The class is always public.
3. The class is always static.
4. the class methods cannot call the methods declared in the interface.
5. the class methods can call only the static methods declared in the interface.
Answer 2 3 4
I think answer should be 3 & 5.
Please explain me
Pankaj Shinde