0
How can i make calculator with same package and different java files.
I am studying in college and i have given an question of this. What can i do?
1 Réponse
0
-where you have your source codes, create sub-folder mathutil
-copy all *.java files of Calculator to the sub-folder
-in each file of Calculator first line is
package mathutil;
-start class Calculator is public
-go back to first folder and create program to check it
-start program with
import mathutil.Calculator;