Can we declare an anonymous class as both extending a class
and implementing an interface?

Answer Posted / rohit

plz giv an example......

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bean? Where it can be used?

595


Can we define a package statement after the import statement in java?

574


What is the difference between arraylist and hashset in java?

512


What is indexof in java?

512


What is primitive data type in java?

537






What is an anonymous class in java?

538


What are computer functions?

475


What does bitwise or mean?

563


What does isempty () do in java?

595


How do you define a singleton class?

502


Where are variables stored?

546


What is the similarity between dynamic binding and linking?

601


How does the java compiler work?

525


What is the purpose of the strictfp keyword?

607


What is a text string?

613