click below
click below
Normal Size Small Size show me how
Underst. Objects
Understanding Objects chapter 2 vocab for 02/28/14, int. prog.
| Term | Definition |
|---|---|
| objects | these are self-contained data structures that consist of properties, methods, and events. |
| encapsulation | an information-hiding mechanism that makes code easy to maintain and understand. |
| class | the template from which individual objects are created. |
| access modifier | these created from the templates defined by classes. |
| method | a block of code containing a series of statements. |
| method signature | its name, its parameter list, and the order of data types of the parameters are collectively recognized as this. |
| constructors | these are used to initialize the data members of the object. |
| properties | these allow you to access class data in a safe and flexible way. |
| accessors | use these to access properties in different situations. |
| inheritance | this enables you to create new classes that reuse, extend, and modify the functionality defined in existing classes. |
| abstract classes | these provide a common definition of a base class that can be shared by multiple derived classes. |
| sealed classes | these provide complete functionality but cannot be used as base classes. |
| value type | this type directly stores data within its memory. |
| reference type | this type only store a reference to a memory location. |
| struct | this keyword is used to create user-defined types that consist of small groups of related fields. |
| polymorphism | the ability of derived classes to share common functionality with base classes but still define their own unique behavior. |
| override keyword | this keyword replaces a base class member in a derived class. |
| interfaces | these are used to establish contracts through which objects can interact with each other without knowing the implementation details. |