What is interface and its use?

Answer Posted / ravikiran(aptech mumbai)

interface is a pure abstract class and is used to define a
template of methods

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1001


What is variable explain with example?

571


How big is a pointer?

555


What is the platform?

535


What is jar?

635






How to invoke external process in java.

569


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

563


what is interface in java? Explain

533


Explain about abstract classes in java?

588


How can an object be unreferenced?

543


How do I type unicode?

540


Why we used break and continue statement in java?

559


What are inbuilt functions?

573


What is the Scope of Static Variable?

732


Can we use string in switch case in java?

574