Java in 21 Days (8th Edition) Day 15: Using Inner Classes and Lambda Expressions

The cover of Teach Yourself Java in 21 Days (8th Edition) by Rogers Cadenhead

Home Feedback Other Books Previous Day Next Day

Notes and Corrections

  • View the Certification Practice quiz solution
  • Certification answer: Answer (a) is correct. When you use the new statement to instantiate an object, it will be created as an object of that class. Because Object is a superclass of String (and all other classes), it can be used whenever you're creating an object.

    Answers (b), (c), and (d) are incorrect.

Source Files

Activities