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 an anonymous class be declared as implementing an
interface and extending a class?

Answers were Sorted based on User's Feedback



Can an anonymous class be declared as implementing an interface and extending a class?..

Answer / janet

An anonymous class may implement an interface or extend a
superclass, but may not be declared to do both.

Is This Answer Correct ?    7 Yes 0 No

Can an anonymous class be declared as implementing an interface and extending a class?..

Answer / bindu

no.if the private class extends abstract class.then v cant
create object to that.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is an example of a conditional statement?

0 Answers  


What is the covariant return type?

0 Answers  


what is meta-Inf?

2 Answers   Polaris,


Difference between keyword and identifier.

0 Answers   TCS,


what is difference between validation.xml & validation rules.xml?

8 Answers   BirlaSoft,


What is the collection interface?

0 Answers  


Can you inherit from an abstract class java?

0 Answers  


What are inner classes or non static nested classes in java?

0 Answers  


What is indexof in java?

0 Answers  


What is variable explain with example?

0 Answers  


List the interfaces which extends collection interface?

0 Answers  


Can we assign the reference to this variable?

0 Answers  


Categories