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

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Apply Index

Apply Page # 2

Activity 2 — Display and highest value of a 'float' array

(1) Create an array called sales of the following double variables

10.5
9.01
16.67
11.22
88.33
5.55

(2) Modify your applet to display the values of these variables in the applet's window

(3) Modify your applet to also display the highest value in this array

image10.gif (3987 bytes)

the screen should look as follows when run:

Discussion/Suggested solution to Activity 2

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