After an introduction to abstract data types and their initial implementation using structures, Michael McMillan analyzes standard OOP topics, including class design, inheritance, access modifiers and scoping issues, abstract classes, design and implementation of interfaces and design patterns, and
Object-oriented Programming with Visual Basic.Net
β Scribed by Michael McMillan
- Publisher
- Cambridge
- Year
- 2004
- Tongue
- English
- Leaves
- 312
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Table of Contents
Contents......Page 3
Preface......Page 7
NET P ROGRAMS......Page 10
D ATA T YPES AND V ARIABLES......Page 16
A RITHMETIC ,S TRING , AND R ELATIONAL O PERATORS......Page 24
E XERCISES......Page 51
OOP D EFINED......Page 53
T HE C HARACTERISTICS OF AN OOP L ANGUAGE......Page 55
OOP AS AN A BSTRACTION M ECHANISM......Page 61
A BSTRACT D ATA T YPES......Page 64
D ESIGNING O BJECT -O RIENTED P ROGRAMS......Page 68
S UMMARY......Page 71
E XERCISES......Page 72
U SING S TRUCTURES......Page 73
AC OMPLETE N AME S TRUCTURE I MPLEMENTATION......Page 92
A NOTHER S TRUCTURE E XAMPLE βT HE R ATIONAL O BJECT......Page 94
F ROM S TRUCTURES TO C LASSES......Page 99
E XERCISES......Page 100
B UILDING A C LASS......Page 102
C LASS C ONSTRUCTORS......Page 105
C OPY C ONSTRUCTORS......Page 129
N ESTED C LASSES......Page 136
C LASS O BJECTS AS O BJECT T YPES......Page 138
U SING C LASSES WITH V ISUAL S TUDIO NET......Page 141
E XERCISES......Page 144
Access Modiο¬ers......Page 145
P UBLIC A CCESS......Page 146
P RIVATE A CCESS......Page 148
P ROTECTED A CCESS......Page 150
F RIEND A CCESS......Page 154
S HADOWS......Page 156
C LASS -L EVEL A CCESS M ODIFIERS......Page 158
E XERCISES......Page 165
A BSTRACT C LASSES......Page 167
E XERCISES......Page 186
Implementing the IEnumerable & IComparable Interfaces......Page 188
T HE IC OMPARABLE I NTERFACE......Page 189
T HE IE NUMERABLE I NTERFACE......Page 194
S UMMARY......Page 199
E XERCISES......Page 200
E XCEPTION H ANDLING IN VB.NET......Page 201
C REATING AND U SING AN E XCEPTION C LASS......Page 206
S UMMARY......Page 209
E XERCISES......Page 210
D ESIGN P ATTERNS......Page 211
R EFACTORING......Page 215
E XERCISES......Page 230
Reο¬ection & Attributes......Page 232
U SING R EFLECTION......Page 233
U SING R EFLECTION WITH C LASS O BJECTS......Page 234
M ANIPULATING C LASS O BJECTS U SING R EFLECTION......Page 243
A TTRIBUTES AND R EFLECTION......Page 253
I NTRINSIC A TTRIBUTES......Page 254
E XERCISES......Page 260
S ERIALIZATION D EFINED......Page 261
S ERIALIZING A C LASS O BJECT......Page 262
D ESERIALIZING A C LASS O BJECT......Page 264
L EAVING D ATA U NSERIALIZED......Page 267
E XERCISES......Page 268
Windows Application......Page 269
VS.NET-G ENERATED C ODE......Page 270
C ONSIDERING A C ALCULATOR D ESIGN......Page 271
AC ALCULATOR M ODEL......Page 272
AC ALCULATOR API......Page 274
D ESIGNING THE C ALCULATOR U SER I NTERFACE......Page 277
W RITING THE C ALCULATOR P ROGRAM C ODE......Page 278
S UMMARY......Page 284
E XERCISES......Page 285
A N O VERVIEW OF ADO.NET......Page 286
A CCESSING A D ATABASE T ABLE U SING N ON -OOP T ECHNIQUES......Page 287
OOP T ECHNIQUES FOR D ATABASE A CCESS......Page 291
E XERCISES......Page 299
Refs......Page 300
Index......Page 301
π SIMILAR VOLUMES
Written for programmers familiar with Visual Basic 6, this guide explains the concepts of object-oriented programming and how they are applied in the .NET framework. The author simplifies the purpose of abstraction, encapsulation, inheritance, and polymorphism, outlines the common language runtime a
<p>This book is about object-oriented programming and how it is implemented in Microsoft Visual Basic. Accordingly, the book has two separate, but interΒ twined, goals. The first is to describe the general concepts of object orientation and the second is to describe how to do object-oriented program