Description
Maximum points: 20 pts
Topics • Object Oriented Programming (Chapter 8) – Encapsulation – Implementing classes – Implementing methods – Object construction – Constructors • Methods (Chapter 5) – Definition and Invocation.
Use the following Guidelines: • Give identifiers semantic meaning and make them easy to read (examples numStudents, grossPay, etc). • Keep identifiers to a reasonably short length. • User upper case for constants. Use title case (first letter is upper case) for classes. Use lower case with uppercase word separators for all other identifiers (variables, methods, objects). • Use tabs or spaces to indent code within blocks (code surrounded by braces). This includes classes, methods, and code associated with ifs, switches and loops. Be consistent with the number of spaces or tabs that you use to indent. • Use white space to make your program more readable.
Important Note: All submitted assignments must begin with the descriptive comment block. To avoid losing trivial points, make sure this comment header is included in every assignment you submit, and that it is updated accordingly from assignment to assignment. (If not, -1 Pt) //*********************************************************** // Name: your name // Title: title of the source file // Description: Write the description in your words. // Time spent: how long it took you to complete the assignment // Date: the date you programmed //**********************************************************
© 2018 Yoshihiro Kobayashi