What are interfaces?

Answer Posted / sri

Interface is a mechanism in Java which is used to create prototype of the classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a char in java?

530


What is use of set in java?

486


Explain the importance of import keyword in java?

519


Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?

540


What is the disadvantage of java?

503






What is java command?

562


How do you stop a thread in java?

585


What is space character in java?

567


What is the purpose of encapsulation?

536


Differentiate between vector and array list.

630


What is the purpose of format function?

618


Write a java program that prints all the values given at command-line.

546


What is foreach loop in java?

528


What is xslt in java?

512


How to avoid memory leak in java?

592