Given the following class hierarchy, identify whether the me…

Given the following class hierarchy, identify whether the method drink is overloaded, overridden, or neither by the subclass: public class Beverage {    public void drink(String s) { /* implemented */ }}public class Coffee extends Beverage {    public void drink(String caffeine) { /* implemented */ }}

For this 1331 exams, I understand that: It is a closed book…

For this 1331 exams, I understand that: It is a closed book exam No notes are allowed No restroom breaks allowed No handheld calculator allowed No headphones are allowed (unless you have documented accommodations with disability services) No hats are allowed I cannot take the exam in a public area There should not be excessive background noise My face must be clearly visible (i.e. use of face coverings are not permitted during the exam) ONE sheet of scratch paper is allowed (make sure to show both front and back in recording when prompted)

                . ‘  .           ‘ .( ‘.) ‘     _   (‘-.FE…

                . ‘  .           ‘ .( ‘.) ‘     _   (‘-.FEEDBACK )’ (`’     | (- -(. ‘)` AND `. (-) ‘  .–`+’-. .’ ASSUMPTIONS ‘) .  |`—-‘|   (‘ .) – (‘. ) `  | /..\ |    . (‘ `.  )   |\./\.\|      ` .  `   |./G \/|  |.\ T/.|  `-._/.-‘

                . ‘  .           ‘ .( ‘.) ‘     _   (‘-.FE…

                . ‘  .           ‘ .( ‘.) ‘     _   (‘-.FEEDBACK )’ (`’     | (- -(. ‘)` AND `. (-) ‘  .–`+’-. .’ ASSUMPTIONS ‘) .  |`—-‘|   (‘ .) – (‘. ) `  | /..\ |    . (‘ `.  )   |\./\.\|      ` .  `   |./G \/|  |.\ T/.|  `-._/.-‘