您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Content Index

Content Page # 34

Object-oriented programming languages

Different realisations of object concepts as programming languages

The basic ideas of object technology can be (and are) realised in different ways. As usual with the implementation of any ideas, compromises are needed. Two computer programming languages which implement object concepts in different ways are Smalltalk and Java.

In Smalltalk there are only objects, messages and variables, and they work entirely uniformly. In Smalltalk, even classes are available as objects. In Smalltalk, all classes can be subclassed, and all inherited methods can be overridden. In Java, primitive types and operations are provided, so there are ways other than objects to represent information. In Java, classes or methods can be marked as final and so not subclassed or overridden.

Back to top

basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg