Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

CS 1337 Test 1

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

How to write a mutator (setter)

Autor: Silver Bison



Respuesta:

Public void setNumber(String number){ this.number = number; } public void setMaxOccupancy(int max){ if(max >= 25 && max <= 600) this.maxOccupancy = max; else }. this.maxOccupancy = 25;


0 / 5  (0 calificaciones)

1 answer(s) in total