Answer Posted / niranjanravi
An Anonymous class is a class which is defined at run time
without having any name and it is instantiated and declared
at the same place.
Syntax:
new class classname(){}
new interface interfacename(){}
Keyword extends and implements are usedin this class.
It is always implicitly final.
It is never static or final.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
What is the file type?
How do you replace all in word?
Define reflection.
what type of questions asked for barclays technologies pune please send urgent
What is the use of arraylist in java?
How can you write a loop indefinitely in java programming?
How to use Media tracker Class.
Can we override compareto method?
Can you extend main method in java?
Does list allow duplicates in java?
Can a main method be declared final?
How does multithreading take place on a computer with a single cpu in java programming?
Write a program to print all permutations of string?
Can we clone singleton class in java?