Give some features of interface?



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

Post New Answer

More Core Java Interview Questions

What is immutable state?

1 Answers  


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

1 Answers  


What is identifier give example?

1 Answers  


Why to use nested classes in java?

1 Answers  


What does function identity () do?

1 Answers  


What is the indent key?

1 Answers  


Tell some latest versions in JAVA related areas?

1 Answers  


What is a finally block? Is there a case when finally will not execute?

1 Answers  


Can a set contain duplicates?

1 Answers  


How multi processing is achieved in JAVA?

5 Answers   BMC,


Can a singleton class be inherited?

1 Answers  


what is the logic inside any default constuctor?

2 Answers  


Categories