setId method

void setId(
  1. int id
)

Définit l’identifiant de l’instance.

Implementation

void setId(int id){
  this.id = id;
}