Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Now that we\'ve found a way to replace our lost items and are well on our way to

ID: 3854769 • Letter: N

Question

Now that we've found a way to replace our lost items and are well on our way to getting back on the road we decide that we should think about implementing additional features (at a much higher cost!) for those businesses who feel they can afford a bit more. By doing this, we will not only be able to replace our stolen items, but also leave Alexander and Elizabeth with a little nest egg of their own, maybe large enough to hire a doctor to treat Elizabeth. Every shop owner who has our pack absolutely loves it, but wishes they didn't have to empty it out each night and put everything back in the next morning. We've heard of a way to store the pack so it can be easily saved and when reopened everything is as fresh as the previous day.

Using your midterm solution implement an option to save the plants to a file. You must also be able to load the saved information from a previously saved file. All previously required actions are still required (add, remove, display, etc)

You are allowed to use any file saving and loading methods.

You MUST submit a sample file that can be loaded into your program without any changes (except the file path)

Submit 6 files: Assignment4.java, flower.java, fungus.java, plant.java, weed.java and the example sample.txt.

I have written the code and everything seems to compile correctly. I am asked to provide the example sample.txt, what would a proper sample.txt file look like for this problem?

Explanation / Answer

Hi, Am the one who resolved the error of your assignment4 class. I thought your code is working fine. Why do you want sample.txt file. What that sample.txt must consists of?

Please comment.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote