From 5b85718bfefe6e7b4d2549bfe09cda0d949d1a33 Mon Sep 17 00:00:00 2001 From: Hammy Date: Sun, 15 Nov 2020 01:48:51 +0000 Subject: [PATCH] No need for exception throwing --- Personal/SimpleOOPExample/src/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Personal/SimpleOOPExample/src/Main.java b/Personal/SimpleOOPExample/src/Main.java index 06b7622..440c4b1 100644 --- a/Personal/SimpleOOPExample/src/Main.java +++ b/Personal/SimpleOOPExample/src/Main.java @@ -1,5 +1,5 @@ public class Main { - public static void main(String[] args) throws Exception { + public static void main(String[] args) { Coordinates coordinate1 = new Coordinates(4, 16); Coordinates coordinate2 = new Coordinates(2, 8);