Classes para obter informações sobre um jogador de futebol americano

Crie uma classe que receba os quatro argumentos a seguir de um jogador de futebol americano:

  • name
  • age
  • height
  • weight

Adicione três métodos à classe que retornem as seguintes strings:

  • getAge() retorna "name is age age"
  • getHeight() retorna "name is heightcm"
  • getWeight() retorna "name weighs weightkg"

Exemplos

Player p1 = new Player("David Jones", 25, 175, 75);

p1.getAge() ➞ "David Jones is age 25"
p1.getHeight() ➞ "David Jones is 175cm"
p1.getWeight() ➞ "David Jones weighs 75kg"

Notas

name será recebido como uma string; age, height e weight serão números inteiros.