why do we use interface in java?

Answer Posted / ki2

Hi, Here the Question is why do we use interface in java but
all people trying to say wat is an interface....


in software development ,We restrict the programmer to use
only those action wat we declare and these method
declarations are given to some third party vendors so they
can implemented their implementations.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which language is java?

543


Is it possible to write a regular expression to check if string is a number?

540


What is local class in java?

518


What is a static method in java?

537


What is a parameter in java?

546






What are the advantages of unicode?

542


What is a control variable example?

529


What are the approaches that you will follow for making a program very efficient?

646


What are the basic control structures?

495


Why can't you declare a class as protected?

597


What do you understand by weak reference?

553


Why java does not support pointers?

559


What is static import in java?

531


Can a private method of a superclass be declared within a subclass?

528


What is an argument java?

535