Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
a) Design a class named PhoneCall with four field's: two strings that hold the 10 digit phone numbers that originated and received the call, and two numeric fields that hold the length of the call in minutes and the cost of the call. Include a constructor that sets the phone numbers to Xs and the numeric fields to 0. Include get and set methods for the phone number and call length fields, but do not include a set methods for the phone number and call length fields, but do the cost of the call at three cents per minute for the first 10 minutes, and two center per subsequent minute. Create the class diagram and write the pseudocode that defines the class.
b) Design an application that declares three PhoneCalls. Set the length of one PhoneCall to 10 minutes, another to 11 minutes, and allow the third object to use the defaut value supplied by the constructor. Then, display each PhoneCall's value.
c) Create a child class named InternationalPhoneCall. Overried the parent class method that sets the call length to calculate the cost of the call at 40 cents per minute.
d) Create the logic for an application that instantiates a PhoneCall object and an InternationalPhoneCall object and displays the cost for both.
a) is completed I need b), c), and d).
Write a program that reads an exchange rate for converting English currency to U.S. currency and after that reads several values in English currency and converts each amount to the equivalent U.S. currency.
how to calculate the BMI of a team player.the formula to calculate the BMI is as follows.
Write down a program using the mov instruction to produce the following results. Assemble and debug the problem.
Write down a script that inputs five numbers and determines and outputs XHTML text that displays the number of negative numbers input, the number of positive numbers input and the number of zeros input.
Write down a method that handles the CustomerValidator's ServerValidate event. In addition, write a JavaScript function for the CustomValidator's CustomValidationFunction property.
create a program that reads from the external file input.txt
I need to create a simple age calculator to find if a user is allowed to purchase a particular restricted product. I need to model an abstract class to represent generic restricted product and concrete classes to represent alcohol, tobacco, R-rate..
Consider a program which is accessing a single I/O device and compare the un-buffered I/O for the use of a buffer.
An overloaded constructor that takes integer width and height arguments, uses a separate method to check whether the width and height fall within the range between 0 and 30, and throws an exception if out of range.
I need help with doing some web search research on relational databases and define briefly how such a database works, and basic components.
Cascading Style Sheets (CSS), a multi-featured specification for HTML, offers designers an expedient, powerful process to control formatting and layout of Web pages.
List two new or changed features in IPv6. define how each one affects Internet Protocol including the affects to inter-networking issues. Be thorough in your discussion.
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!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd