diff --git a/.gitignore b/.gitignore
index 5ff6309..b74481f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,38 +1,2 @@
-target/
-!.mvn/wrapper/maven-wrapper.jar
-!**/src/main/**/target/
-!**/src/test/**/target/
-
-### IntelliJ IDEA ###
-.idea/modules.xml
-.idea/jarRepositories.xml
-.idea/compiler.xml
-.idea/libraries/
-*.iws
-*.iml
-*.ipr
-
-### Eclipse ###
-.apt_generated
-.classpath
-.factorypath
-.project
-.settings
-.springBeans
-.sts4-cache
-
-### NetBeans ###
-/nbproject/private/
-/nbbuild/
-/dist/
-/nbdist/
-/.nb-gradle/
-build/
-!**/src/main/**/build/
-!**/src/test/**/build/
-
-### VS Code ###
-.vscode/
-
-### Mac OS ###
-.DS_Store
\ No newline at end of file
+/target
+/.idea/
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 7e21b1e..78ba9fe 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,20 +4,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -32,6 +19,11 @@
+
@@ -50,19 +42,19 @@
- {
+ "keyToString": {
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "SHARE_PROJECT_CONFIGURATION_FILES": "true",
+ "WebServerToolWindowFactoryState": "false",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -80,6 +72,7 @@
+
@@ -93,9 +86,40 @@
1678289786309
+
+ 1678360452667
+
+
+
+ 1678360452667
+
+
+ 1678360668988
+
+
+
+ 1678360668988
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/org/example/Smartphone.java b/src/main/java/org/example/Smartphone.java
index e1cb8f1..550933d 100644
--- a/src/main/java/org/example/Smartphone.java
+++ b/src/main/java/org/example/Smartphone.java
@@ -45,6 +45,10 @@ public void setContactList(ArrayList contactList) {
this.contactList = contactList;
}
+ public boolean containsAtLeast3Contacts() {
+ return contact.size () <= 3;
+ }
+
@Override
public boolean startRadio() {
System.out.println("Radio started");
diff --git a/target/classes/org/example/Contact.class b/target/classes/org/example/Contact.class
new file mode 100644
index 0000000..339f088
Binary files /dev/null and b/target/classes/org/example/Contact.class differ
diff --git a/target/classes/org/example/Friend.class b/target/classes/org/example/Friend.class
new file mode 100644
index 0000000..e7f7841
Binary files /dev/null and b/target/classes/org/example/Friend.class differ
diff --git a/target/classes/org/example/Main.class b/target/classes/org/example/Main.class
new file mode 100644
index 0000000..4f5cbcb
Binary files /dev/null and b/target/classes/org/example/Main.class differ
diff --git a/target/classes/org/example/Smartphone.class b/target/classes/org/example/Smartphone.class
new file mode 100644
index 0000000..81ef228
Binary files /dev/null and b/target/classes/org/example/Smartphone.class differ
diff --git a/target/classes/org/example/positionable.class b/target/classes/org/example/positionable.class
new file mode 100644
index 0000000..0c2a434
Binary files /dev/null and b/target/classes/org/example/positionable.class differ
diff --git a/target/classes/org/example/startAndstoppable.class b/target/classes/org/example/startAndstoppable.class
new file mode 100644
index 0000000..34027a0
Binary files /dev/null and b/target/classes/org/example/startAndstoppable.class differ