Answers for "happy new year year"

1

Happy New Year!

try {
  Year year2020 = new Year(2020);
  year2020.do();
} catch Covid19 {
  System.out.println("Wow, 2020 sucked");
} finally {
  Year year2021 = new Year(2021);
  System.out.println("Happy new year!");
}
Posted by: Guest on January-01-2021
1

Happy New Year!

try {
  Year year2020 = new Year(2020);
  year2020.do();
} catch Covid19 {
  System.out.println("Wow, 2020 sucked");
} finally {
  Year year2021 = new Year(2021);
  System.out.println("Happy new year!");
}
Posted by: Guest on January-01-2021

Browse Popular Code Answers by Language