assign2xxx2

assign2xxx2 - After answering this assignment you will be...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: After answering this assignment you will be able to: (a) Distinguish between instance variables and class variables (b) Distinguish between instance methods and class methods (c) Know how to call class methods and how to call instance methods (d) Format numbers to reflect dollar currency (e) Format current date (f) Understand the concept of overloading The ABC Cheap Lodging, Inc wants a computerized printed receipt for each of its customers transaction, and a summary report for all its transactions. Each input consists of the room number, the number of nights, and the number of customers. A customer may request additional night stay after the initial stay has expired. Also, a customer may have other members joining at a later time than at the initial registration. When registering, if customer a simply request a room it is assumed that its only one person staying one night. On the other hand the customer may specify the length of stay. In this case it is assumed that there is only one customer for that many nights; or the customer may specify the length of stay....
View Full Document

Page1 / 3

assign2xxx2 - After answering this assignment you will be...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online