Can an interface extands a class?

Answer Posted / sunil kale

no interface can't extends class, it only extends another
interface.
Class implpements interface.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules for variable declaration?

496


What is the return type of the main method?

565


What is data type in java?

481


Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview

2847


What is a file pointer?

504






Can you have two constructors in java?

491


Which method must be implemented by all threads?

715


Why set do not allow duplicates in java?

571


Write the algorithm to check the number non-leaf nodes in a tree.

578


How to check if a list is sorted in java?

582


Is alive method in java?

500


Why do we use return statement?

533


What are the changes in java.io in java 8 ?

543


Explain how to force the garbage collection in java.

525


What is byte [] in java?

525