Design a class named magazinesubscription

Assignment Help JAVA Programming
Reference no: EM13702236

Question: Design a class named MagazineSubscription that has fields for a subscriber's name, the magazine name, and number of months remaining in the subscription.

Add methods to set and get the values for each data field. Create the class diagram and write the pseudo-code that defines the class. Design an application that declares two MagazineSubscription objects and sets and displays their values. Design an application that declares an array of six MagazineSubscriptions.

Prompt the user for data for each object and then display all the values. Then subtract 1 from each "months remaining' field and display the objects again.

I do not understand how to do the last section of this problem. I need this answer in pseudo-code please.

 

Reference no: EM13702236

Questions Cloud

Prepare the equation as a vba statement : In environmental engineering, the given formula is employed to calculate the dissolved oxygen concentration in a river at a location x downstream from a sewage treatment plant effluent.
Prepare the mobile site : You need to believe consistency is very important in web sites.  If you are consistent throughout your pages it is much simpler to navigate.  Not only is it easier to navigate but it makes viewing more friendly.
What are some key obstacles that stand in the way : What are some key obstacles that stand in the way of true cooperation by labor and management? Please list the obstacles you consider to be most significant. Do you believe these obstacles can be overcome? If so, how?
Hcl is slowly added to a solution that is 0.250m in pb2+ : Question- HCl is slowly added to a solution that is 0.250M in Pb2+ and 0.00150M in ag+. Which precipitate forms first,PbCl2 or AgCl? Show your calculation. At what Cl- ion concentration will the precipitate first. Appear? Ksp for PbCl2 is 1.6*10^-..
Design a class named magazinesubscription : Design a class named MagazineSubscription that has fields for a subscriber's name, the magazine name, and number of months remaining in the subscription.
How many grams of silver sulfate can be dissolved in 450 : Question- How many grams of silver sulfate can be dissolved in 450. ml of .200M sodium sulfate solution? (ksp for Ag2SO4 is 1.2* 10^-5)
What would like to web page to do : What would like to web page to do? Who is my audience and What do I want it to look like? How simple do I want it? How complex?
Determine statistics for a video game tournament : Write a program to determine statistics for a video game tournament and write a program to alphabetize a list of last names. The user will input an undetermined number of last names.
Write the algorithm and find out the time complexity : Write the algorithm and find out the time complexity for the algorithm (in terms of n and m). Note that given two locations (x1, y1) and (x2, y2), distance between them can be calculated by the subsequent formula: ? (x2 - x1)2 + (y2 - y1)2.

Reviews

Write a Review

JAVA Programming Questions & Answers

  That uses a library database of books

Write a Java program that uses a library database of books and patron data, as described in Exercise R22.2. Patrons should be able to check out and return books

  Write a java program called namecollector

Write a Java program called "NameCollector" that contains an object invocation for a class called "Collector".

  Determine the number is prime

Determine if the number is prime. If N is prime, then print a message stating that it is prime - If the integer is not between 0 and 8000000, then the program keeps prompting the user to re-enter the number till the integer is within the proper ran..

  Write an application that uses string method region

Write an application that uses String method region - Matches to compare two strings input by the user. The application should input the number of characters to be compared and the starting index of the comparison.

  It inherits the functionality of super class

It inherits the functionality of super class Package and contains an additional data member representing an additional fee per ounce charged for overnight-delivery service.

  Algorithm analysis with advanced data

algorithm analysis with advanced data structuresalchemy-mines of oreland yield unlimited amounts of silver but no gold.

  Write an expression those results in a string consisting

Write an expression those results in a string consisting of the third through tenth characters of the strings. Make this program using java programming.

  Infix expression and translate it to a postfix expression

program below is suppose to take in a infix expression and translate it to a postfix expression, but I need a way for the user to be able to input the expression using a scanner and output the postfix.

  Write a java program that prompts the user

Write a Java program that prompts the user to input three numbers.  This program should then output the numbers in an ascending order.

  Write a method that reads the contents of the two files

BoyNames.txt This file contains a list of the 20 most popular names given to boys born in the US in 2011.

  Numerical solution of a two-point boundary-value problem

How to combine both Secant and Runge-Kutta methods and make it to the two-point boundary-value - Numerical Solution of a Two-Point Boundary

  Create an array of date objects

Create an array of Date objects of size 4. Initialize the array by using a loop. In the loop, use the Scanner.nextLine() method to input a date as a string, convert it to a date by using the toDate() method, and assign the result to an element in ..

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