␡
- 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
Terminology
- access modifier
- attribute (UML)
- auto-implemented property
- automatically implemented property
- C format specifier
- calling method
- class
- class declaration
- class keyword
- client of an object or a class
- code snippet
- compartment in a class diagram (UML)
- constructor
- create an object
- decimal simple type
- default value
- double-precision floating-point number
- double simple type
- field
- float simple type
- floating-point number
- format specifier
- fully qualified class name
- get accessor
- global namespace
- guillemets, « and » (UML)
- information hiding
- instance of a class (object)
- instance variable
- instantiate (or create) an object
- invoke a method
- local variable
- member access (.) operator
- message
- method
- method header
- new operator
- null keyword
- object (or instance)
- object-creation expression
- operation (UML)
- parameter
- parameter list
- precision of a floating-point value
- precision of a formatted floating-point number
- "prop" code snippet
- property
- private access modifier
- public access modifier
- public default constructor
- public method
- ReadLine method of class Console
- refer to an object
- reference
- reference type
- send a message
- set accessor
- single-precision floating-point number
- ToDecimal method of class Convert
- UML class diagram
- UML visibility symbol
- void keyword