+ 2
does anonymous class work with constructor?
3 Answers
+ 1
constructor works first and then anonymous class.
+ 1
yes it does. You can override a constructor method in the same way that you would any other. simply put @override and copy paste the entire constructor code (then change the output as you desire)
+ 1
Yes it does