Create a class which holds account number

Assignment Help Programming Languages
Reference no: EM1370948

1. Design a class named Loan that holds an account number, name of account holder, amount borrowed, term, and interest rate. Include methods to set values for each data field and a method that prints all the loan information. Create the class diagram and write the pseudo code that defines the class.

2. Complete the following tasks:?Note: You should choose one object oriented programming language (C++, Java, C#, etc) to complete this assignment. You need to write a report which includes the source code and any notes. Also submit the source code along with other files if needed to run the program.

a. Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data field. Also include a displayInfo egg method that displays each of the Book's data fields with explanation.

b. Design a class named TextBook that is a child class of Book. Include a new data field for the grade level of the book. Create a displayTextBookInfo () method so that you can accommodate the new grade-level field.
Design an application that instantiates an object of each type and demonstrates all the methods.

Reference no: EM1370948

Questions Cloud

Find out the magnitude of the electrical field : A long straight metal wire of radius r1= 3.30E-2 m is bounded by a metalic cylindrical shell of inner radius r2= 1.39 E-1 m and outer radius r3= 1.84E-1 m.
Explain use the theory of motivation to explain the problem : Explain Use the theory of motivation to explain the problem and Use the theory of motivation to describe an intervention/action to change the motivation/behavior.
What is the volume of the interior of the house : A major-league pitcher can throw a baseball in excess of 48.7m/s. If a ball is thrown horizontally at this speed, how much will it drop by time it reaches the catcher who is 15 m away from the point of free.
Find expected profit maximizing output : assume equilibrium price in a perfectly competitive market is $100 and within this market, a typical firms total cost curve is summarised. Find expected profit maximizing output.
Create a class which holds account number : Create a class named Loan which holds the account number, name of account holder, amount borrowed, term, and interest rate. Include methods to set values for each data field.
What is change in the momentum of the tennis ball : A tennis ball of mass 57 g travels with velocity m/s toward a wall. After bouncing off the wall, the tennis ball is observed to be traveling with velocity m/s.
Illustrate what is revenue raised by government through tax : Market for this commodity is characterized by perfect competition. Government steps in and levies a unit tax of 10 on this commodity. Illustrate what is revenue raised by government through this tax.
Contrast the economics of the concentrate business : Contrast the economics of the concentrate business to that of the bottling business and Why is the profitability so different?
What is the current flowing in the primary : Three charges, +q, +2q, and +4q, are linked by strings (Assume that the middle charge is fixed in space and the other 2 charges are held there by the tension alone.)

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to use next character to create and return operator

Convert the string of digits into an integer. Otherwise, use the next character to create and return an operator.

  Write a web application which will give report of balance

Write a web application which will provide a report of the balance held in the visitor's account during the past several months.

  Write program which will ask user to enter last names

Write a program which will ask the user to enter last names of our candidates in class officer's president election and number of votes received each candidate.

  Compute and display total number of votes received

Display the table with appropriate labels for the rows and columns. Compute and display the total number of votes received by each candidate and the percentage of the total votes cast.

  Program to match exam score to a letter grade

Create algorithm which will prompt the operator for student's serial number and student's exam score out of 100. Your program is then to match exam score to a letter grade.

  Create program for hollywood movie rating guide

Create a program for the Hollywood Movie Rating Guide,in which users continuously enter a value from 0 to 4 that indicates the number of stars they are awarding to the Guide's featured movie of the week.

  Implicit unsafe type conversions-statements and expressions

Write a report using APA format for references that researches the definition of the language with respect to implicit unsafe type conversions in both assignment statements and expressions.

  Design program to compute-display number of miles per hour

Design a program that calculates and displays the number of miles per hour over the speed limit that a speeding driver was doing.

  Using the irvine32 library functions

Create 32 random points which have (x, y) co-ordinates

  Sketch program flowchart for program to compute average

Sketch a program flowchart for a program that will compute the average of five grades. Input five grades and output the aveage.

  Write a program that inputs number of hours worked

Write a program that inputs the number of hours worked and hoursly pay rat for employesand outputs their total pay.

  Write program which prompts user for interger value

Write a program which prompts user for interger value in range 0 to 32,767 and then prints infividual digits of numbers on line with three spaces between digits.

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