what is an anonymous class?

Answer Posted / kapil dalke

anonymous class means its does not have a tag name.
as you know that...
when u declare the class
class Tcs
{
......
....
}
But its not anonymous class because it has class name(tag);
if u declare like that
class
{
............
.........
}
then its called aonymous class

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you implement tree mirroring in java?

597


What are the drawbacks of reflection?

567


How do listeners work?

518


What is the purpose of the enableevents() method in java programming?

595


What types of index data structures can you have in java?

619






What are local variables?

599


What is java full form?

536


Write a program to calculate factorial in java?

590


Is empty list java?

527


Why do we use regex?

563


What are thread priorities and importance of thread priorities in java?

628


What are format specifiers in java?

603


Where is jre installed?

597


Is java a pure object oriented language?

542


What is public/private protected in java?

548