From 35b4881797882e01016638a28c6530974bba2d70 Mon Sep 17 00:00:00 2001 From: Joseph Romeo Date: Fri, 5 Nov 2021 16:14:58 +0100 Subject: [PATCH 01/10] Added awesome Joe Romeo class --- JoeRomeo.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 JoeRomeo.java diff --git a/JoeRomeo.java b/JoeRomeo.java new file mode 100644 index 0000000..b200de4 --- /dev/null +++ b/JoeRomeo.java @@ -0,0 +1,5 @@ +public class JoeRomeo { + public int joe() { + return 0; + } +} From 66ee0ba78a8c7b21de85962a5e3dea2251bfc4ad Mon Sep 17 00:00:00 2001 From: Joseph Romeo Date: Fri, 5 Nov 2021 16:16:30 +0100 Subject: [PATCH 02/10] Added awesome method to Joe Romeo class --- JoeRomeo.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/JoeRomeo.java b/JoeRomeo.java index b200de4..f29dff7 100644 --- a/JoeRomeo.java +++ b/JoeRomeo.java @@ -1,5 +1,9 @@ public class JoeRomeo { public int joe() { - return 0; + return "Joe"; + } + + public int romeo() { + return "Romeo"; } } From 43551e1404423518db6967ff6a520649c962e627 Mon Sep 17 00:00:00 2001 From: Joseph Romeo Date: Fri, 5 Nov 2021 16:17:56 +0100 Subject: [PATCH 03/10] Adding my surname to MyClass --- MyClass.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MyClass.java b/MyClass.java index 2d01701..4924921 100644 --- a/MyClass.java +++ b/MyClass.java @@ -1,8 +1,8 @@ public class MyClass { - + public String niceMethod() { - String nice = "giovanni & ali"; + String nice = "romeo"; return nice; } - + } From 1d805fd01b13fb08b1f1e8d54e8b21455c3c59d8 Mon Sep 17 00:00:00 2001 From: Joseph Romeo Date: Sat, 6 Nov 2021 09:59:04 +0100 Subject: [PATCH 04/10] Fixed myclass mistake by changing variable name instead of assignment --- MyClass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MyClass.java b/MyClass.java index 4924921..3894956 100644 --- a/MyClass.java +++ b/MyClass.java @@ -1,8 +1,8 @@ public class MyClass { public String niceMethod() { - String nice = "romeo"; - return nice; + String romeo = "romeo"; + return romeo; } } From e43f234182c3408bc407a58b2d8b232990fb6b29 Mon Sep 17 00:00:00 2001 From: Annonymus Date: Sat, 6 Nov 2021 10:18:52 +0100 Subject: [PATCH 05/10] add MarcoTereh.java --- MarcoTereh.java | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 MarcoTereh.java diff --git a/MarcoTereh.java b/MarcoTereh.java new file mode 100644 index 0000000..a4e7fad --- /dev/null +++ b/MarcoTereh.java @@ -0,0 +1,3 @@ +public class MarcoTereh { + +} From 474780194964bfeeeeafca07920125fdb34d4653 Mon Sep 17 00:00:00 2001 From: Annonymus Date: Sat, 6 Nov 2021 10:19:52 +0100 Subject: [PATCH 06/10] add method to MarcoTereh.java --- MarcoTereh.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MarcoTereh.java b/MarcoTereh.java index a4e7fad..ef5f033 100644 --- a/MarcoTereh.java +++ b/MarcoTereh.java @@ -1,3 +1,3 @@ public class MarcoTereh { - + void foo() {} } From 5285e861eb128a03259069ef4598e28960df390d Mon Sep 17 00:00:00 2001 From: Annonymus Date: Sat, 6 Nov 2021 10:21:05 +0100 Subject: [PATCH 07/10] refactor MyClass.java to use clearly superior naming conventions --- MyClass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MyClass.java b/MyClass.java index 3894956..4df239d 100644 --- a/MyClass.java +++ b/MyClass.java @@ -1,8 +1,8 @@ public class MyClass { public String niceMethod() { - String romeo = "romeo"; - return romeo; + String tereh = "romeo"; + return tereh; } } From 669df642d6522a2aafd1eaf749bc71e4dc5c3bee Mon Sep 17 00:00:00 2001 From: deepansha16 Date: Sat, 6 Nov 2021 16:24:24 +0100 Subject: [PATCH 08/10] Create DeepanshaChowdhary.java --- DeepanshaChowdhary.java | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 DeepanshaChowdhary.java diff --git a/DeepanshaChowdhary.java b/DeepanshaChowdhary.java new file mode 100644 index 0000000..a032633 --- /dev/null +++ b/DeepanshaChowdhary.java @@ -0,0 +1,3 @@ +public class DeepanshaChowdhary { + int x = 5; +} From dd18f9bbecec6fa62b8684014db6affe54685e49 Mon Sep 17 00:00:00 2001 From: deepansha16 Date: Sat, 6 Nov 2021 16:32:31 +0100 Subject: [PATCH 09/10] added empty class --- DeepanshaChowdhary.java | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 DeepanshaChowdhary.java diff --git a/DeepanshaChowdhary.java b/DeepanshaChowdhary.java new file mode 100644 index 0000000..c90b1ae --- /dev/null +++ b/DeepanshaChowdhary.java @@ -0,0 +1,3 @@ +public class DeepanshaChowdhary{ + int x = 5; +} \ No newline at end of file From 1292dcc0c62e0cfb2348656c9243981ef3466ddf Mon Sep 17 00:00:00 2001 From: deepansha16 Date: Sat, 6 Nov 2021 17:16:48 +0100 Subject: [PATCH 10/10] added randomMethod --- DeepanshaChowdhary.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/DeepanshaChowdhary.java b/DeepanshaChowdhary.java index c90b1ae..5b793d5 100644 --- a/DeepanshaChowdhary.java +++ b/DeepanshaChowdhary.java @@ -1,3 +1,9 @@ -public class DeepanshaChowdhary{ - int x = 5; -} \ No newline at end of file +public class DeepanshaChowdhary { + static void randomMethod() { + System.out.println("random text"); + } + public static void main(String[] args) { + randomMethod(); + + } +}