Define interface?

Answer Posted / ravikiran(aptech mumbai)

interface is the one which contains all the methods as
abstract.If we wish to do a complete new functionality
implementation in the future we have to make use of interface

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is try-with-resources in java?

613


Explain when classnotfoundexception will be raised ?

569


What is the list interface?

612


What is the use of toarray () in java?

545


Is there any case when finally will not be executed?

527






What is difference between overloading and overriding in java?

529


Can finally block be used without a catch?

548


How many bits is a string?

525


In java, how many ways you can take input from the console?

524


Why there are some null interface in java? What does it mean?

644


Explain how hashmap works?

592


What is the maximum size of a string in java?

551


What is the method overriding?

621


How are variables stored?

533


What is subsequence of a string?

604