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

Is oracle java 11 free?

900


What are the methods available in a class?

1012


Why is java so important?

1063


what is the final keyword denotes in java?

1021


Can you access the private method from outside the class?

906


What all access modifiers are allowed for top class ?

1138


What is identifier with example?

994


What is set and get methods in java?

926


What is a method in programming?

1124


Can an interface extend a class?

925


What are the advantages of defining packages in java?

923


What are the basic control structures?

923


What is native method in java?

1014


What are wrapped classes in java programming?

1018


What flag up means?

983