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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is an array a vector?

735


What is the main use of java?

815


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

2252


What happens if an exception is not handled in a program?

833


Can we sort arraylist in java?

769


What is compiler and what its output.

871


Which access specifier can be used with class ?

706


How does linkedlist work in java?

694


What is final class?

766


What is a Hash Table? What are the advantages of using a hash table?

834


What are heterogeneous objects?

778


when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

1889


What are assembly attributes?

753


What is called module?

754


Why are arrays useful in java?

756