文档介绍:OBJECT ORIENTED FREE STUDY BOOKS
PROGRAMMING
USING JAVA
SIMON KENDAL
FREEin associationSTUDY with TEXTBOOK BOOKS TORRENTS
1
TEXTBOOKS FOR STUDENTS
Simon Kendal
Object Oriented Programming
using Java
“To my wife Janice and daughter Cara, without whom life would be no fun at all!”
In cooperation with Download free books at
TEXTBOOK TORRENTS 2
Object Oriented Programming using Java
© 2009 Simon Kendal & Ventus Publishing ApS
ISBN 978-87-7681-501-1
In cooperation with Download free books at
TEXTBOOK TORRENTS 3
Object Oriented Programming using Java Contents
Contents
Foreword 11
1. An Introduction to Object Orientated Programming 12
A Brief History puting 12
Different Programming Paradigms 13
Why use the Object Orientation Paradigm? 15
Object Oriented Principles 16
What Exactly is Object Oriented Programming? 19
The Benefi ts of the Object Oriented Programming Approach 23
Summary 23
2. The Unifi ed Modelling Language (UML) 24
An Introduction to UML 25
UML Class diagrams 25
UML Syntax 29
UML Package Diagrams 41
UML Object Diagrams 47
what‘s missing in this equation?
You could be one of our future talents
Please click the advert
MAERSK INTERNATIONAL TECHNOLOGY & SCIENCE PROGRAMME
Are you about to graduate as an engineer or geoscientist? Or have you already graduated?
If so, there may be an exciting future for you with . Moller - Maersk.
as
In cooperation with Download free books at
TEXTBOOK TORRENTS 4
Object Oriented Programming using Java Contents
UML Sequence Diagrams 48
Summary 49
3. Inheritance and Method Overriding 50
Object Families 51
Generalisation and Specialisation 51
Inheritance 53
Implementing Inheritance in Java 59
Constructors 60
Constructor Rules 61
Access Control 62
Abstract Classes 64
Overriding Methods 64
The ‘Object’ Class 67
Overriding toString() defi ned i