diff options
Diffstat (limited to 'java/code/CircularBaseExample.java')
-rw-r--r-- | java/code/CircularBaseExample.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/code/CircularBaseExample.java b/java/code/CircularBaseExample.java index c9a21fe..77b4a74 100644 --- a/java/code/CircularBaseExample.java +++ b/java/code/CircularBaseExample.java @@ -80,7 +80,7 @@ public class CircularBaseExample { System.out.println("Cylinder volume: " + cylinder.calVolume()); } catch (InputMismatchException e) { System.err.println("Invalid input. Please enter numerical values only."); - System.exit(1); + System.exit(1); } } } |