How do you relate a Interface to a Class? Tell me in
Detail?

Answer Posted / ranganathkini

A class relates to an interface, in that the class
implements all the methods of the interface.

The implementing class can eiether provide a concrete
implementation of the interface's methods or provide an
abstract implementation.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can used Protected Class outside Function.?

591


Is object a data type?

528


How can we access some class in another class in java?

525


What are the two categories of data types in the java programming language?

484


What ide should I use for java?

469






What are the different data types in java?

513


What is difference between adapter class and listener?

475


Why is stringbuffer faster than string?

466


What is string pooling concept?

526


What is treeset in java?

524


What is java full form?

503


Can we extend private class in java?

520


Define an abstract class with reference to java.

550


What is the use of put method?

496


how is final different from finally and finalize in java?

585