Return to Coding in Java with artEoz – exercises

Anonymous classes

  1. Make sure you have the anonyme resource. If necessary, see the Resources import webpage.
  2. The constructor of Ecureuil class instantiate an anonymous class. How many objects are created? key_48
  1. This anonymous class has no field declaration. Yet the memory diagram shows one field. What is this field? key_48
  2. What is this field? key_48

Back to java exercises list