getName() method

Returns the name of the item.

Syntax

String getName ()

Returns

the name of the item