Give some features of interface?
Answer / Ashish Kumar Johri
{"features":["Abstraction", "Multiple Inheritance (through implementation of multiple interfaces)", "Polymorphism", "All methods are abstract and public by default", "Methods in an interface cannot be static or final unless they are initializers", "Constants can be defined using final, static and public keywords", "Interfaces cannot be instantiated, only classes can implement them"]}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is immutable state?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What is identifier give example?
Why to use nested classes in java?
What does function identity () do?
What is the indent key?
Tell some latest versions in JAVA related areas?
What is a finally block? Is there a case when finally will not execute?
Can a set contain duplicates?
How multi processing is achieved in JAVA?
Can a singleton class be inherited?
what is the logic inside any default constuctor?