1. 학습
  2. /
  3. 강의
  4. /
  5. Data Types and Exceptions in Java

Connected

연습 문제

Finally

Now, modify the previous SplitTheBill calculator of the last exercise to use a finally to print out the bill per individual, even when an Exception was caught.

지침

100 XP
  • Add a try and the start of the try code block.
  • Finish the catch code block and add a finally code block.
  • Finish the finally code block.