What is the use of an interface?

Answer Posted / muthusenthil

Interface is mearly a specification, its a design flexible
it can be used to model multiple inheritance normally java
wont supports.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is hash code collision?

582


What is tcp and udp?

595


Explain creating threads by implementing runnable class?

583


What is command line used for?

585


What is java literals?

572






What is internal iteration in java se 8?

625


Define class?

512


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

551


What must a class do to implement an interface in java programming?

531


Why do you canvas?

604


What is a classloader in java?

534


If try block is successfully executed, Then Is Finally block executed?

603


Is java 11 paid version?

506


What does s mean in regex?

549


What are jee technologies?

529