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 jvm? How its run?

1136


How can you share data between two thread in Java?

983


What is a map in java?

1052


Differentiate between overriding and overloading cases?

1167


Is java a super set of javascript?

1151


What is the advantage of functional interface in java 8?

1047


How does multithreading take place on a computer with a single cpu in java programming?

1058


Explain the difference between hashmap and hashtable in java?

991


What are the five major types of reference sources?

1192


What is the difference between reader/writer and inputstream/output stream?

1133


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

1140


Which is easier .net or java?

1132


What are assembly attributes?

1062


What is output buffer?

1093


Why put method is idempotent?

970