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

What’s the difference between applets and standalone program?

517


Does java runtime require a license?

564


How do generics work?

506


What is formatted output in java?

486


What is string made of?

517






How do you add spaces in java?

500


What is a buffer in java?

558


what is bmg file and how to create that files?what will it contailn?

1868


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

7387


What is space character in java?

559


Can we sort a map in java?

566


Can a class have more than one object?

512


Explain the importance of finally over return statement?

594


What is java reflection?

524


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

2617