Thank you everyone for your help! I am taking an AP Computer Science class, and dealing with a teacher not writing back to any of my emails. Your help is greatly appreciated!
My two classes currently are:
and
I have to change the classes though and write a
testing program so that it takes user input for how much jam needs to be spread, and then returns how much jam is left in the jar, until one of the jars is empty. I figured the first thing I should do is import the two classes into the program, I can not yet figure out how to.
As far as typing package TheContainingFolderName at the top, should I write just the folder that the program is in, or the whole path? For example, can I just write package Nov23-30, or do I have to write package Users/Theresa/School2009-2010/ComputerScience/Nov23-30; ?
John, my program is Pantry Tester and my classes are Jam and Pantry. I tried import PantryTester.Jam;, and it said Error: package PantryTester does not exist. Did I do it wrong?
Thank you again SO MUCH for all your help!!!