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 a map? What are the implementations of map?

1047


What is the difference between heap memory and stack memory?

1019


What is difference between overloading and overriding in java?

973


How would you format a date in java? I.e. In the ddmmyyy format?

1325


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

972


What is binary tree in java?

1009


What is ternary operator? Give an example.

1029


Is call by reference possible in java?

915


What are the ways to instantiate the class class?

1060


What is parsing and its types?

1038


What is a key in java?

935


What happens if constructor is private?

978


Difference between string, stringbuffer and stringbuilder?

991


What are basic data types?

1042


What are the basic control structures?

933