-
-
Save uncoded-ro/f5a875d2f1887019c5069a85024ae67c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ro.virtualcampus.unit; | |
public class Facultate { | |
private String nume; | |
private String adresa; | |
public Facultate(String nume, String adresa) { | |
this.nume = nume; | |
this.adresa = adresa; | |
} | |
public String getNume() { | |
return nume; | |
} | |
public void setNume(String nume) { | |
this.nume = nume; | |
} | |
public String getAdresa() { | |
return adresa; | |
} | |
public void setAdresa(String adresa) { | |
this.adresa = adresa; | |
} | |
@Override | |
public String toString() { | |
return "Facultate [nume=" + nume + ", adresa=" + adresa + "]"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment