If you create one main class for the entire program and select the menu from the main, you want to create a program that has three different functions (make several classes separately for each function) In the main class, use a switch statement inside the public static void main (String[] args I'm trying to make them choose what functions to do If you want to select detailed functions, such as adding or deleting, as a menu, Do I have to use the switch statement again?
Should I declare a static void method outside the public static void main (String[] args) of the main class and write the switch statement that selects the menu in each function?
java
I don't know much about Java, but if I can just give you a logic opinion...
I hope it helps.
© 2024 OneMinuteCode. All rights reserved.