What is interface and its use?

Answer Posted / koteswararao konikineni

interface is nothing but the collection of abstract methods
which are not implemented those are implemented in class
assume interface act as a client and the class act as a
vendor
we can not create object to interface we have to create
abstract variable only

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of course?

583


How can we create objects if we make the constructor private ?

543


What is string value?

638


What is basic syntax?

551


What is a parameter in simple terms?

562






What is static keyword in java?

552


What is overriding in java?

522


When the constructor of a class is invoked?

595


Is set sorted in java?

518


what are the high-level thread states? : Java thread

562


Explain java coding standards for interfaces?

634


What is an exception? difference between Checked and Unchecked exception in Java

559


Explain the polymorphism principle?

581


What is the name of the java compiler?

528


What is a nested structure?

537