Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

declare anonymous class

Thu Nov 06, 2008 10:03 pm

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



Re: declare anonymous class

Thu Nov 06, 2008 10:04 pm

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

Post a reply
  Related Posts  to : declare anonymous class
 Define class helper class to check the method existance     -  
 java abstract class,concrete class and interface     -  
 relationship between the Canvas class and the Graphics class     -  
 Define class inside another class C++     -  
 inner class that is a member of an outer class?     -  
 load class to applet- load frame class to applet     -  
 PHP example for a class     -  
 PHP class example     -  
 JPA entity class example     -  
 Inheriting a Class in php     -