Post date: Nov 27, 2014 4:57:11 AM
Defining Classes 1
4.2 Information Hiding and Encapsulation
Programming Projects:
p 285: Ex. 3.
Class Rectangle (below) and its test program (see sample output):
Make sure the values entered for both length and width are positive numbers.
Class Circle (below) and its test program (similar to the previous example):
Make sure the values entered for radius are positive numbers.
Recommended Self-Test Exercises:
p 231: Ex. 10-12.
p 249-250: Ex. 17-19.
Quiz 2 (Theory) was conducted during the second meeting:
Wednesday for section 101.
Thursday for section 102.