Given the following classes: class Drink { void spill() {…
Given the following classes: class Drink { void spill() { System.out.println(“drink spilled”); }} Write a subclass Milk that overrides spill() to print “Don’t cry over spilled milk.”. In main, create an Drink reference that refers to a Milk and calls spill().