30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

346 Object-Based <strong>Program</strong>ming Chapter 8<br />

instantiate (or create) objects Private Shared member<br />

interactions among objects procedural programming language<br />

interface process<br />

internal data representation program development process<br />

last-in-first-out (LIFO) data structure programmer-defined type<br />

library Public keyword<br />

LIFO Public method<br />

linked list Public operations encapsulated in an object<br />

local variable of a method Public service<br />

mark an object for garbage collection Public Shared member<br />

member access modifier pushing in<strong>to</strong> a stack<br />

memory leak queue<br />

Me reference rapid application development (RAD)<br />

method overloading reclaim memory<br />

namespace reference <strong>to</strong> a new object<br />

New (construc<strong>to</strong>r) resource leak<br />

New keyword reusable software component<br />

new type service of a class<br />

non-Public method Set accessor of a property<br />

object (or instance) signature<br />

Object class software reuse<br />

Object Browser stack<br />

object orientation standard time format<br />

object passed by reference Shared class variable<br />

“object speak” Shared class variables have class scope<br />

“object think” Shared class variables save s<strong>to</strong>rage<br />

object-based programming (OBP) Shared keyword<br />

object-oriented Shared method cannot access non-Shared<br />

object-oriented programming (OOP) class member<br />

operations of an abstract data type structured programming<br />

overloaded construc<strong>to</strong>r termination housekeeping<br />

overloaded method universal-time format<br />

overloading user-defined type<br />

parameterized construc<strong>to</strong>r utility method<br />

polymorphism validity checking<br />

popping off a stack variable<br />

predicate method waiting line<br />

Private keyword<br />

SELF-REVIEW EXERCISES<br />

8.1 Fill in the blanks in each of the following:<br />

a) Class members are accessed via the opera<strong>to</strong>r in conjunction with a reference<br />

<strong>to</strong> an object of the class.<br />

b) Members of a class specified as are accessible only <strong>to</strong> methods and properties<br />

of the class.<br />

c) A is a method for initializing the instance variables of a class when the object<br />

of that class is created.<br />

d) A accessor assigns values <strong>to</strong> instance variables of a class.<br />

e) Methods of a class normally are made and instance variables of a class normally<br />

are made .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!