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

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)


Apply Index

Apply Page # 8

Activity 8 – Encapsulation of attributes and operations

Note:
When you click on the link to MyTriangle.java the program will be automatically loaded in the Kawa editor window. If you want to save it on your disk then give it the name  MyTriangle.java 

Look at the listing of the Java program MyTriangle.java
. Create a list of what you think are the attributes and operations for this class
MyTriangle .

Discussion of Activity 8 – Encapsulation of attributes and operations

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