what is anonymous guys? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

what is anonymous guys?

how can we use in java.....

7th Oct 2016, 1:12 PM
Mac
Mac - avatar
3 Answers
+ 4
An anonymous class in Java is a class not given a name and is both declared and instantiated in a single statement. You should consider using an anonymous class whenever you need to create a class that will be instantiated only once. src: http://www.dummies.com/programming/java/how-to-use-an-anonymous-class-in-java/
7th Oct 2016, 2:08 PM
Christopher
+ 9
nice brother.... may I know about you something
7th Oct 2016, 2:13 PM
Mac
Mac - avatar
+ 1
anonymous which isn't have the class name that's it
8th Oct 2016, 2:37 PM
SURESH KURESH
SURESH KURESH - avatar