Download Online version 3.4

Transcript
Contents
3
Table of Contents
1 Overview...............................................................................................................16
1.1
1.2
1.3
1.4
Aims............................................................................................................................16
Assumptions ...............................................................................................................16
Course Material and Recommended Sources ............................................................16
Java Versions – Bits of History .................................................................................17
1.4.1
1.4.2
1.4.3
1.0.x ..................................................................................................................................17
1.1.x ..................................................................................................................................17
1.2.x – aka Java 2.............................................................................................................17
1.5
1.6
1.7
1.8
1.9
1.10
Development platforms ..............................................................................................17
Development kits and Standards................................................................................18
Miscellanea .................................................................................................................18
Course Timetable........................................................................................................19
Coda............................................................................................................................19
Bibliography ...............................................................................................................19
2 An Introduction to Programming Languages and Object Oriented Programming ...................................................................................................................24
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
2.15
2.15.1
2.15.2
2.15.3
2.15.4
2.15.5
2.15.6
2.15.7
2.15.8
2.15.9
2.15.10
2.15.11
2.15.12
2.15.13
2.15.14
2.16
2.16.1
2.16.2
2.16.3
2.16.4
2.17
2.18
2.18.1
2.18.2
2.19
2.20
2.20.1
2.20.2
2.20.3
2.20.4
Fortran 66, 1966 .........................................................................................................24
Pascal, 1975, ANSI & BSI 1982, ISO 1983, Extended Pascal 1991?......................24
Fortran 77, 1978 .........................................................................................................25
C, K&R 1978, Standard 1989. ...................................................................................25
Modula 2, 1982, Standard 1996? ...............................................................................25
Ada, ISO 8652: 1987 .................................................................................................25
C++, 1986, Standard November 1997 .......................................................................25
Oberon 2, Late 1980's, early 1990's...........................................................................26
Fortran 90, 1991. ........................................................................................................26
Eiffel, 1988 .................................................................................................................26
Ada, ISO 8652: 1995 .................................................................................................26
Java .............................................................................................................................27
Visual Basic................................................................................................................27
Language Comparison................................................................................................27
Language Features......................................................................................................29
Independent Compilation .................................................................................................29
Separate Compilation .......................................................................................................29
Concrete Data Types ........................................................................................................29
Abstract Data Types .........................................................................................................29
Dynamic arrays.................................................................................................................29
Numeric and General Polymorphism...............................................................................29
Modules ...........................................................................................................................30
Pointers and References ...................................................................................................30
Procedure Variables .........................................................................................................30
Inheritance ........................................................................................................................30
Dynamic Binding .............................................................................................................30
Operator Overloading.......................................................................................................30
Threads/Multitasking........................................................................................................30
Exception Handling..........................................................................................................31
Some Important Milestones in Program Language Development ............................31
Structured Programming ..................................................................................................31
Stepwise Refinement........................................................................................................31
Data Structuring, Concrete vs Abstract Data Types........................................................31
Information Hiding – Modules ........................................................................................31
Terminology of Object Oriented Programming.........................................................31
Parallel Developments................................................................................................31
Parallel Fortran – Fortran 95, Fortran 2000, SMP, MPI, HPF .......................................32
Parallel C++......................................................................................................................32
Object Oriented Programming ...................................................................................32
Object Oriented Languages ........................................................................................33
Simula – 1967 ..................................................................................................................33
Smalltalk – 1978 ..............................................................................................................33
C++ ...................................................................................................................................33
Eiffel .................................................................................................................................33