FileDocCategorySizeDatePackage
WorksAnyway.javaAPI DocExample3356Mon Apr 06 18:10:24 BST 1998None

Mouse

public class Mouse extends Object

Fields Summary
private int
mouseNumber
Constructors Summary
Mouse(int i)

    mouseNumber = i;
  
Methods Summary
voidprint(java.lang.String msg)

    if(msg != null) System.out.println(msg);
    System.out.println(
      "Mouse number " + mouseNumber);
  
public java.lang.StringtoString()

    return "This is Mouse #" + mouseNumber;