Next: Data Abstraction
Up: Object Oriented Programming
Previous: Object Oriented Programming
Fortran 90 has some degree of object oriented facilities such as:
- data abstraction -- user-defined types;
- data hiding -- PRIVATE and PUBLIC attributes;
- encapsulation -- Modules and data hiding facilities;
- inheritance and extensibility -- super-types, operator overloading
and generic procedures;
- polymorphism -- user can program his / her own polymorphism
by generic overloading;
- reusability -- Modules;
FORTRAN 77 had virtually no object oriented features at all, Fortran 90 adds much but
by no means all the required functionality. As usual there is a trade
off with efficiency. One of the ultimate goals of Fortran 90 is that the code
must be efficient.
Next: Data Abstraction
Up: Object Oriented Programming
Previous: Object Oriented Programming
Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 15:03:35 GMT 1996Not for commercial use.