add test code from discussion after lecture

This commit is contained in:
Oleksii Aleshchenko
2023-02-16 16:30:11 +02:00
parent 81947f9b29
commit 9112df275b
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package encapsulationInheritancePolymorphism;
public class Main {
public static void main(String[] args) {
Student student = new Student();
//...
student.setFaculty("FPM", "MO-22");
}
}