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

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Apply Index

Apply Page # 3

Activity 3 – Inheritance issues

Look at the program Inheritance1.java and try to work out what display it will produce.

You can use the following html file to run the applet with the appletviewer:

<BODY>
<APPLET CODE="Inheritance1.class" height=100 width=200></APPLET>
</BODY>

When you think you've figured it out, compile and run the program and check your answer

Discussion/Suggested solution to Activity 3
Back to content

Back to top

basicline.gif (169 bytes)

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