diff --git a/Seminar 4/assignment/from-class.txt b/Seminar 4/assignment/from-class.txt
new file mode 100644
index 0000000..e945631
--- /dev/null
+++ b/Seminar 4/assignment/from-class.txt
@@ -0,0 +1,16 @@
+Create an electric store that manages computers.
+Computer:
+ size
+ peripheral: string[]
+ brand
+ canPLayGames?
+
+ Laptop
+ Desktop
+ Tablet
+
+
+Presentable
+Computable
+Interactable
+Movable
\ No newline at end of file
diff --git a/Seminar 4/code/Project 4/.idea/.gitignore b/Seminar 4/code/Project 4/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/Seminar 4/code/Project 4/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/Seminar 4/code/Project 4/.idea/misc.xml b/Seminar 4/code/Project 4/.idea/misc.xml
new file mode 100644
index 0000000..03f397c
--- /dev/null
+++ b/Seminar 4/code/Project 4/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Seminar 4/code/Project 4/.idea/modules.xml b/Seminar 4/code/Project 4/.idea/modules.xml
new file mode 100644
index 0000000..ca2f70c
--- /dev/null
+++ b/Seminar 4/code/Project 4/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Seminar 4/code/Project 4/.idea/uiDesigner.xml b/Seminar 4/code/Project 4/.idea/uiDesigner.xml
new file mode 100644
index 0000000..2b63946
--- /dev/null
+++ b/Seminar 4/code/Project 4/.idea/uiDesigner.xml
@@ -0,0 +1,124 @@
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+
\ No newline at end of file
diff --git a/Seminar 4/code/Project 4/.idea/vcs.xml b/Seminar 4/code/Project 4/.idea/vcs.xml
new file mode 100644
index 0000000..c2365ab
--- /dev/null
+++ b/Seminar 4/code/Project 4/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Seminar 4/code/Project 4/Project 4.iml b/Seminar 4/code/Project 4/Project 4.iml
new file mode 100644
index 0000000..c90834f
--- /dev/null
+++ b/Seminar 4/code/Project 4/Project 4.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Seminar 4/code/Project 4/out/production/Project 4/Animal.class b/Seminar 4/code/Project 4/out/production/Project 4/Animal.class
new file mode 100644
index 0000000..4ed8a7d
Binary files /dev/null and b/Seminar 4/code/Project 4/out/production/Project 4/Animal.class differ
diff --git a/Seminar 4/code/Project 4/out/production/Project 4/Human.class b/Seminar 4/code/Project 4/out/production/Project 4/Human.class
new file mode 100644
index 0000000..7174305
Binary files /dev/null and b/Seminar 4/code/Project 4/out/production/Project 4/Human.class differ
diff --git a/Seminar 4/code/Project 4/out/production/Project 4/Interfaces/Walkable.class b/Seminar 4/code/Project 4/out/production/Project 4/Interfaces/Walkable.class
new file mode 100644
index 0000000..db31063
Binary files /dev/null and b/Seminar 4/code/Project 4/out/production/Project 4/Interfaces/Walkable.class differ
diff --git a/Seminar 4/code/Project 4/out/production/Project 4/Main.class b/Seminar 4/code/Project 4/out/production/Project 4/Main.class
new file mode 100644
index 0000000..11452f5
Binary files /dev/null and b/Seminar 4/code/Project 4/out/production/Project 4/Main.class differ
diff --git a/Seminar 4/code/Project 4/out/production/Project 4/Mammel.class b/Seminar 4/code/Project 4/out/production/Project 4/Mammel.class
new file mode 100644
index 0000000..e0c17c3
Binary files /dev/null and b/Seminar 4/code/Project 4/out/production/Project 4/Mammel.class differ
diff --git a/Seminar 4/code/Project 4/src/Animal.java b/Seminar 4/code/Project 4/src/Animal.java
new file mode 100644
index 0000000..847a884
--- /dev/null
+++ b/Seminar 4/code/Project 4/src/Animal.java
@@ -0,0 +1,21 @@
+public abstract class Animal {
+ private int weigth;
+
+ public Animal() {}
+
+ public Animal(int weigth) {
+ setWeigth(weigth);
+ }
+
+ public int getWeigth() {
+ return weigth;
+ }
+
+ protected void setWeigth(int weigth) {
+ this.weigth = weigth;
+ }
+
+ public abstract void move();
+
+ public abstract void eat();
+}
diff --git a/Seminar 4/code/Project 4/src/Human.java b/Seminar 4/code/Project 4/src/Human.java
new file mode 100644
index 0000000..b0829a9
--- /dev/null
+++ b/Seminar 4/code/Project 4/src/Human.java
@@ -0,0 +1,19 @@
+import Interfaces.Walkable;
+
+public class Human extends Mammal implements Walkable {
+ public void move() {
+ walk();
+ }
+
+ public void walk() {
+ System.out.println("I am walking");
+ }
+
+ public void eat() {
+ System.out.println("I am eating");
+ }
+
+ public void giveBirth() {
+ System.out.println("I am giving birth");
+ }
+}
diff --git a/Seminar 4/code/Project 4/src/Interfaces/Walkable.java b/Seminar 4/code/Project 4/src/Interfaces/Walkable.java
new file mode 100644
index 0000000..98784ab
--- /dev/null
+++ b/Seminar 4/code/Project 4/src/Interfaces/Walkable.java
@@ -0,0 +1,5 @@
+package Interfaces;
+
+public interface Walkable {
+ void walk();
+}
diff --git a/Seminar 4/code/Project 4/src/Main.java b/Seminar 4/code/Project 4/src/Main.java
new file mode 100644
index 0000000..36e18d0
--- /dev/null
+++ b/Seminar 4/code/Project 4/src/Main.java
@@ -0,0 +1,15 @@
+import Interfaces.Walkable;
+
+public class Main {
+ public static void main(String[] args) {
+ Walkable walker = new Human();
+ walker.walk();
+
+ Human human1 = new Human();
+ human1.giveBirth();
+ human1.eat();
+
+ Mammal mammal = new Human();
+ mammal.move();
+ }
+}
\ No newline at end of file
diff --git a/Seminar 4/code/Project 4/src/Mammal.java b/Seminar 4/code/Project 4/src/Mammal.java
new file mode 100644
index 0000000..2e8e75f
--- /dev/null
+++ b/Seminar 4/code/Project 4/src/Mammal.java
@@ -0,0 +1,18 @@
+public abstract class Mammal extends Animal {
+ private int temperature;
+ public Mammal() {}
+
+ public Mammal(int weight) {
+ super(weight);
+ }
+
+ public int getTemperature() {
+ return temperature;
+ }
+
+ public void setTemperature(int temperature) {
+ this.temperature = temperature;
+ }
+
+ public abstract void giveBirth();
+}
diff --git a/Seminar 4/notes/Seminar0401.png b/Seminar 4/notes/Seminar0401.png
new file mode 100644
index 0000000..1bda8fd
Binary files /dev/null and b/Seminar 4/notes/Seminar0401.png differ
diff --git a/Seminar 4/notes/Seminar0402.png b/Seminar 4/notes/Seminar0402.png
new file mode 100644
index 0000000..0a9bc61
Binary files /dev/null and b/Seminar 4/notes/Seminar0402.png differ