what is an anonymous class?

Answer Posted / dipesh

Suppose

Class My implements InetrfaceName{

My my=new InterfaceName(){ write mehtod impl here of
interface};

here we r creating instance of class (we dont know name)to
my

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is instance synchronization?

530


What’s a deadlock?

602


how many types of Inheritance?

637


Is null in java?

544


How do you replace all in word?

516






Can we access the non-final local variable, inside the local inner class?

506


Difference between a process and a program?

607


What is Java Package and which package is imported by default?

586


What do you understand by Header linked List?

586


Mention a package that is used for linked list class in java.

516


What are identifiers in java?

567


How many bits are in a sentence?

577


What is use of set in java?

483


What is the implementation of destroy method in java. Is it native or java code?

468


What is collection sort in java?

545