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 mnemonic code?

1018


What is a lambda expression ? What's its use ?

1108


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

971


Explain super keyword in java.

1036


Explain importance of inheritance in java?

1028


Implement a stack with push (), pop() and min() in O(1) time.

1113


Which api is provided by java for operations on set of objects?

1461


Can we inherit a class with private constructor?

1129


Can an abstract class be a final class?

998


Define jit compiler?

1140


Can you override private or static method in java?

979


Is it possible to specify multiple jndi names when deploying an ejb?

997


Why is java multithreaded?

992


What is finalize method?

1123


What is complexity and its types?

1033