What is interface and its use?

Answer Posted / yugendar siddipet

Interface is nothing but a pure abstract class which
contains all abstract methods.a clas can implement this
interface and use accordingly.this is how java supports
multiple inheritance.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a return in java?

768


What do you understand by casting in java language?

780


How do I stop concurrentmodificationexception?

711


Java is pass by value or pass by reference? Explain

745


Is ruby built on java?

703


What is double data type?

723


Explain the concept of proper inheritance?

799


How to solve the problem of generating the unique hash keys with hash function?

1648


Can java hashmap have duplicate keys?

690


What is string in java?

747


What is used of static keyword in java?

754


What is string variable?

770


What are byte codes?

836


Can you pass by reference in java?

711


Are arrays primitive data types?

827