I typed compiled the files properly and was able to view them in the package folders i created.
However when I tried to run the class I got an error
java.lang.NoClassDefFoundError: ClassB (wrong name: packageb/ClassB)
Your class seems to be in a package called packageB.
Assuming it's in a folder called packageB, then you should be in the folder that contains packageB when in the command line.
Then the run command would be:
As a side note to take home, is the importance of having timestamps wher things can be created and updated. That is almost always a useful information to capture and later use it if/once the need comes.
1. user's billing information created - all works for years
2. all of a sudden things stop working (assuming issue is in billing information)
3. by checking billing information's updated at timestamp you could verify whether information was updated. By whom updated? Update reason? etc...
The more metadata information you have around you, the easier is to understand the matter.
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me: