Interface A {
String test();
}

Interface B {
int test();
}

Create a class AB which must implements both A & B
interfaces.

Answer Posted / b

ONLY ONE INTERFACE CAN BE IMPLEMENTED BY A CLASS

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create our own daemon thread?

544


What is string syntax?

551


What is nested top-level class?

580


How will you get the platform dependent values like line separator, path separator, etc., ?

591


Does treeset use compareto?

543






What is consumer interface?

562


Can we override the static method?

580


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

2856


What is the basic concept of java?

543


What is ternary operator? Give an example.

603


What does pointer mean?

546


What is a byte string?

625


What is unicode used for?

575


How big is a gigabyte?

621


What is tochararray in java?

504