The purpose of anonymous classes is clear and understandable. But I'm unable to find the minimum version of Java which supports anonymous classes. Can anyone tell me the exact Java version which supports it?
Java 1.1
Source: https://www.cs.cornell.edu/andru/javaspec/1.1Update.html
Details: Added along with inner classes. Anonymous classes are a type of Inner Class (https://en.wikipedia.org/wiki/Inner_class). Inner classes were introduced in Java 1.1 (https://en.wikipedia.org/wiki/Java_version_history).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With