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...

Can we declare an anonymous class as both extending a class
and implementing an interface?

Answer Posted / devnaga

No. An anonymous class can extend a class or implement an
interface, but it cannot be declared to do both

Is This Answer Correct ?    26 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread start?

942


What is a class in java?

991


What are the different ways to handle exceptions?

968


What is the purpose of the System class?

985


How do you start a thread?

1017


What is constant in programming?

1088


What does split function do in java?

996


What is int argc char * argv?

1131


How do you sort data in java?

935


What is an inner class in java?

948


What is finally block?

1036


Give the hierarchy of inputstream and outputstream classes.

1084


What is better - 'bit-shift a value' or 'multiply by 2'?

1171


What is difference between filereader and bufferedreader?

930


What is a final class ?

1150