Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Community Garden Program Write a Java program for a public community garden at Moreno Valley College. Moreno Valley residents can register and schedule an appointment

Community Garden Program Write a Java program for a public community garden at Moreno Valley College. Moreno Valley residents can register and schedule an appointment to visit the garden. The community garden operates 8:00 AM 8:00 PM, Monday Friday, and 8:00 AM 5:00 PM on Saturday. During each appointment, patrons can pick fresh produce, fruits and vegetables, at this garden at no cost. *Note: JDatePicker Swing library (https://sourceforge.net/projects/jdatepicker/) can be used in this option, but not required.

How the program works: - The program should prompt the user to register general and contact information. - The program should ask the user to set an appointment during operating hours in the 1 year span. - The program should display the user selection on the screen. - The Java program should also contain options for monetary donations or other forms of donations, such as seeds, soil, fertilizer, voluntary labor, gardening tools, or other gardening materials. - The program should output the order summary and appointment in a text file.

The program should contain the following technical components: - Comments: Document your code, program purpose - Appropriate data type (int, double, long, float). - Variables: name and use your variables accordingly, reference the variables, include in blocks. - Switch statements. - Adequate "Options" menu and selection. - 2 or more controlled statement (If, If-else, While, Do-while, Range-based, for-loop). - Operators: order precedence, functionality in arithmetic, logical and all parameters. - Class: incorporate at least 2 classes in the program. - Objects and methods: create objects, constructor and use methods to access these objects. - Arrays: include an array, 1 or more dimension is acceptable. - Control access to class members. - Inheritance: allows one class to incorporate another class into its declaration using inheritance. - Import packages: Include packages to streamline development. - Implement interfaces: at least more than one interface in the program - Efficiency and performance: consider design concepts into the program. - Integration of UI using Swing.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Third International Conference Achids 2011 Daegu Korea April 2011 Proceedings Part 2 Lnai 6592

Authors: Ngoc Thanh Nguyen ,Chong-Gun Kim ,Adam Janiak

2011th Edition

3642200419, 978-3642200410

More Books

Students also viewed these Databases questions

Question

please try to give correct answer 5 6 3 .

Answered: 1 week ago

Question

1. Describe the types of power that effective leaders employ

Answered: 1 week ago