Design a class to represent a credit card

Assignment Help JAVA Programming
Reference no: EM131587972

This material is somewhat more theoretical than that of previous topics, so instead of writing a program for this assignment, you are going to work on a design. Specifically, your task is to design a class to represent a credit card. Try to design your class such that it only includes fields and methods relevant to a credit card itself, without branching out into related functionality, like that of a bank or a consumer. At the same time, try to make your class as complete as possible, so that it can be used in any application that involves a credit card.

To complete this assignment, you will turn in a text document (Word or .pdf) with the following information:
- A list of the fields and methods of your class. For fields you will need to specify the type, the accessibility (private, public, protected, default or package), whether it is a static or instance field, and any limitations on the values (non-negative, always less than some other value, etc.). For the methods, you will need to supply the return type and parameter type list.
- A free-form description of what each field and method is meant to do, with explanation of any potentially confusing design decisions.
- A justification for your design based on the guidelines given in Section 13.10 of your textbook on pages 525-528.
The first two items will look somewhat similar to what was provided in the assignment description for Assignment 4. The justification will be somewhat similar to what was provided in the URL.java file included in this topic's course materials (week10.jar). You do NOT need to implement your class (i.e., you do not need to write any code).
You will be graded according to the following rubric (each items is worth one point).
- The fields are defined
- The fields are logical, sufficient, and do not extend outside of what a CreditCard class should contain
- The fields have appropriate data types and visibility (public, private, protected, default or package)
- Appropriate restrictions on the fields are discussed (e.g., Can a field only take on positive values? Must it always be less than or greater than some other field?)
- The methods are defined
- The methods are logical, sufficient, and do not extend outside of what a CreditCard class should contain
- The methods have appropriate visibility, return types, and arguments
- Any potentially confusing design choices are justified
- The design of the class is analyzed with respect to the content in Section 13.10
- The text provided is clear and has good spelling, grammar, etc.

Reference no: EM131587972

Questions Cloud

Determine the npv for project-draw a timeline : Determine the NPV for this project. Should Brower build the plant? DRAW A TIMELINE
What happens to expected return on the stock : If Northern Sludge issues an additional $12 million of common stock and uses this money to retire debt, what happens to the expected return on the stock?
Make realistic assumpions about any missing data : Complete Dr. Beeper's federal tax return for 2015. Use form 1040 and Schedule E and form 8582. Make realistic assumpions about any missing data.
Create a method to read the scores : Create a method to read the scores and return the scores in a one dimensional array to the caller - Create a method to calculate the average score
Design a class to represent a credit card : This material is somewhat more theoretical than that of previous topics, so instead of writing a program for this assignment, you are going to work on a design
Write a complete java program called calculateaverage : Write a complete Java program called lCalculatell?uw'erage according to the following guidelines. The program prompts the user for ?ve to ten numbers oil on one
Prepare a functional java program : prepare a functional java program that I can run in my compiler (Netbeans) that allows you to control a running back with the arrow keys and avoid opposing play
Write a program that reads from a url : Review the three exercises that were discussed in the lectures - illustrates how to read from a URL - It reads each line from the given text file and displays
Develop a text based application that perform a turing test : Develop a text based application that attempts to perform a turing test. It must use a dynamic list of responses. They may be generated on the fly

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd