␡
- 4.1 Introduction
- 4.2 Classes, Objects, Methods, Properties and Instance Variables
- 4.3 Declaring a Class with a Method and Instantiating an Object of a Class
- 4.4 Declaring a Method with a Parameter
- 4.5 Instance Variables and Properties
- 4.6 UML Class Diagram with a Property
- 4.7 Software Engineering with Properties and set and get Accessors
- 4.8 Auto-Implemented Properties
- 4.9 Value Types vs. Reference Types
- 4.10 Initializing Objects with Constructors
- 4.11 Floating-Point Numbers and Type decimal
- 4.12 Wrap-Up
- Summary
- Terminology
- Self-Review Exercises
- Answers to Self-Review Exercises
- Exercises
- Making a Difference Exercises
This chapter is from the book
Self-Review Exercises
4.1 |
Fill in the blanks in each of the following:
|
4.2 |
State whether each of the following is true or false. If false, explain why.
|
4.3 |
What is the difference between a local variable and an instance variable? |
4.4 |
Explain the purpose of a method parameter. What is the difference between a parameter and an argument? |