Slide 1 More sophisticated behavior Using library classes to implement some more advanced functionality 4.0 Slide 2 2 Objects First with Java - A Practical Introduction using…