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 do I change the name of my java file from Main.java to something else?

+2 votes
asked Feb 18, 2018 by Ujandja Veii (140 points)

3 Answers

0 votes
answered Feb 18, 2018 by anonymous

You can't  change name of Main.java file but you can create new files by pressing "Ctrl+M" or "New file" button just left of "Run" button.

commented Nov 8, 2022 by Utkarsh Shinde (100 points)
But when i press on run ....it runs the main file only.
0 votes
answered Feb 16, 2023 by Admin (5,100 points)
Now it is possible.
0 votes
answered Feb 16, 2023 by Abel Neto (140 points)
clicando nos três pontos do retângulo azul em cima da linha de comando (onde está escrito Main.java). Assim que clicar aparece o nome "rename".
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...