Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Interface A {
String test();
}

Interface B {
int test();
}

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

Answer Posted / srinivasa

Class AB Implements A,B{
String test(){
SOS("----");
}
int test(){
SOS("--------");
}
}

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the topics in core java?

1126


Write java program to reverse string without using api?

1104


Is empty .java file name a valid source file name?

1179


Explain java code for recursive solution's base case?

1087


How to run a JAR file through command prompt?

1337


Is arraylist sorted in java?

1057


Is main an identifier?

1053


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

2773


What are the new features in java 8? Explain

998


Explain covariant method overriding in java.

1163


How to declare an arraylist in java?

1188


What is mean by exception?

1076


Can java arraylist hold different types?

1148


What is the difference between a checked and an unchecked exception?

1040


What is the use of default method in interface in java?

1046