FileDocCategorySizeDatePackage
PersonalDetails.javaAPI DocExample428Thu Sep 14 17:30:56 BST 2000None

PersonalDetails

public class PersonalDetails extends Applet

Fields Summary
private int
age
Constructors Summary
Methods Summary
public voidpaint(java.awt.Graphics g)

		age = 21;			// assign the value 21 to the age variable
		g.drawString("This person's age is " + age, 20, 20);