Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

in which way to perform exception handling

+6 votes
asked Nov 2, 2025 by Tushar Aher (180 points)

1 Answer

0 votes
answered Nov 2, 2025 by Peter Minarik (101,340 points)

What language are you looking for? There are plenty of tutorials online. If you have a concrete problem, please provide more details with the language and with a code snippet that's causing you an issue.

Here are a few examples:

  1. https://www.w3schools.com/cpp/cpp_exceptions.asp
  2. https://www.w3schools.com/cs/cs_exceptions.php
  3. https://www.w3schools.com/java/java_try_catch.asp
  4. https://www.w3schools.com/python/python_try_except.asp
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...