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?

7th Dec 2021, 10:29 AM
Mukund Tapaniya
1 Answer
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;
10th Dec 2021, 6:18 PM
zemiak