How a class can implement an interface?

Answer Posted / asrinivas rao

In java a class can implement interface using "implemnts"
keyword.the methods defined in the interface need to be
implemented in the class which implments the respective
interface,otherwise the class becomes has an Abstract class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is files manifesting?

1732


What is a newline character in java?

566


Is vector ordered in java?

540


java Technical questions asked by JPMC

4574


Explain java coding standards for interfaces?

634






Is java a digit method?

520


How does finally block differ from finalize() method?

589


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

508


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

586


Who found java?

553


What is exception hierarchy in java?

590


Why vector class is used?

544


Write a java program for binary search?

611


What is unmodifiable collection in java?

514


What is package private scope in java?

535