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.

How to add new classes?

+7 votes
asked Apr 14, 2025 by (190 points)

1 Answer

0 votes
answered Apr 18, 2025 by Peter Minarik (101,420 points)
Depending on the language, you can add a new class in the same file or in a new file. You can add a new file with the NEW FILE icon, 2 to the left of the green RUN button.
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.
...