Multiple choice

Which of the following methods in Applet programming is used to extract the name part of an item from the class and return it?

  1. stop()

  2. getName()

  3. accept()

  4. chat()

  5. move()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This method in Applet programming is used to extract the name part of the item and return it.