Posts by Ryu1031 • 11 points
1 post
-
1
votes1
answer996
viewsQ: How to call a method that is in another java file?
Here’s the first class: public class algoritmo { public static void main(String[] args){ opcoes(); } public static void opcoes(){ Scanner input = new Scanner(System.in); int num;…