calling getName method to display weapon name