About HPC Systems Software User Guides Education Partners

  / gears / hpc / education / tutorials / java / example4


Introduction

Definition

Examples

Installation

Applets

Example 01

Example 02

Example 03

Example 04

Example 05

Example 06

Object Oriented Programming

Java Security

References

Example 4

  • Given: The Scribble Applet
  • Required: Print out x and y co-ordinates to the screen.
  • Solution: System.out.println(" The value of xone is " + xone);
  • System.out.println(" The value of yone is " + yone);


Please send questions or suggestions about this web page to beatnic@aset.psu.edu

ASET | ITS | Penn State