From 487910db42fbea671a82f6a5cd9304fa72567066 Mon Sep 17 00:00:00 2001 From: oorozco22 <43101859+oorozco22@users.noreply.github.com> Date: Sun, 13 Oct 2019 13:33:16 -0300 Subject: [PATCH] Update and rename march.java to March.java Syntactical format corrected --- Miscellaneous/{march.java => March.java} | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename Miscellaneous/{march.java => March.java} (70%) diff --git a/Miscellaneous/march.java b/Miscellaneous/March.java similarity index 70% rename from Miscellaneous/march.java rename to Miscellaneous/March.java index 98bac96..40ee2cb 100644 --- a/Miscellaneous/march.java +++ b/Miscellaneous/March.java @@ -1,27 +1,27 @@ -class may { +class May { void month(){ System.out.println("This is the month of May."); } } -class june extends may { +class June extends May { void month(){ System.out.println("This is the month of June."); } } -class march extends may{ +class March extends May{ void month(){ System.out.println("This is the month of March."); } public static void main(String[] args){ - may m = new may(); - may n = new june(); - may u = new march(); + May m = new May(); + May n = new June(); + May u = new March(); m.month(); n.month(); u.month(); } -} \ No newline at end of file +}