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

How does enum work in java?

1011


What are the 4 types of characters?

997


Mention some interfaces implemented by linked list in java.

1013


How define set in java?

1061


Which package is used for pattern matching with regular expressions?

1098


Difference between final and effectively final ? Why is effectively final even required ?

976


What does jre stand for?

1053


What are the important methods of java exception class?

1092


Does the order of public and static declaration matter in main method?

1067


java program with complete 4 oops concepts implemented example

3146


Why there are some null interface in java? What does it mean?

1113


What are measurable parameters?

1063


What are instance variables?

1072


What is the console in java?

1137


What does sizeof return?

976