While this is Java related I thought maybe here so...
# announcements
f
While this is Java related I thought maybe here someone knows the answer: When does a Java anonymous class create a
clinit
static initializer method? When I create an instance of
Runnable
it usually has two methods
run()
and
init
. But when analyzing the apk of my Android app it shows me some of the anonymous classes having a third
clinit
method. I did not yet find out the reason for this. Does anybody of you know it?