samedi 3 avril 2021

How can I check email address in java

I'm trying to write if condition that checks whether an email address entered from user is valid email.

How can I write it?

Please, I want a simple way and not complicated

my method is

  public void setStudentEMail(String StudentEMail)
{
     this.StudentEMail=StudentEMail;    
}
 
  public String getStudentEMail()
{
    return this.StudentEMail;
}

Thanks a lot.

Aucun commentaire:

Enregistrer un commentaire