Checkout
checkout
view
Your Cart Your Cart: item(s)
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Software Design and Architecture
Year 3

Java script for specific age calculation


I need to create a simple age calculator to determine if a user is allowed to purchase a particular restricted product. I need to model an abstract class to represent the generic restricted product and concrete classes to represent alcohol, tobacco, R-rated movies, PG-13 rated movies and video games. Each of these products have a different minimum age for purchase. The age calculator user interface will be a Java Swing application that instantiates the product selected by the user and compares its minimum purchase age with the birthdate of the customer. If the customer is old enough to purchase the product a dialog box to that effect appears. A rejection message is displayed if the customer is too young.

By OTA:  Yupei Xiong, PhD

OTA Rating:  4.8/5

Your Price:  $2.19  (original value ~$19.95)

What's included:

  • Plain text response
  • Attachment(s):
    • AgeCalculator.java
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download

Page generated in 0.0126 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples