Say
class Person{ Integer height; integer weight; }
is it valid to check like this?
Person p = new Person(); if (p.height !=null && p.height >= 1 && p.weight >=1 ){}
Aucun commentaire:
Enregistrer un commentaire