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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a function in java?

757


What are three advantages of using functions?

746


What is java oops?

764


Is intellij better than eclipse?

757


describe synchronization in respect to multithreading? : Java thread

699


How do you get the length of a string in java?

731


what is the purpose of "virtual"?

779


Why do we create public static method in java?

784


What are design patterns and please explain?

814


What is the purpose of finalization in java programming?

776


What is the difference between integer parseint and integer valueof?

745


What happens if we override only equals?

749


Which variable is the independent variable?

764


Why string is called as immutable?

703


Explain the importance of thread scheduler in java?

764