POB_2019/Java/zad1_1/Przedmiot.java

11 lines
242 B
Java
Raw Permalink Normal View History

2019-04-14 12:05:09 +02:00
package POB_2019.Java.zad1_1;
public class Przedmiot {
private String subjectName;
public Przedmiot(String name){
this.subjectName=name;
}
public String toString(){
return this.subjectName + "JEchane";
}
}