I am required to save and submit my program as only one file. My program has multiple classes and from what I understand so far is that only the main class can be public? What changes would I have to make?
These are the instructions give by our professor:
When you submit your project you should submit only one named xxxx.java The main class in this file must be a public class but no other classes that you use can be public (because only one public class is allowed in a file).