FileDocCategorySizeDatePackage
Detergent.javaAPI DocExample3366Mon Apr 06 18:10:24 BST 1998None

Cleanser

public class Cleanser extends Object

Fields Summary
private String
s
Constructors Summary
Methods Summary
public voidappend(java.lang.String a)

       s += a; 
public voidapply()

 append(" apply()"); 
public voiddilute()

 append(" dilute()"); 
public static voidmain(java.lang.String[] args)

    Cleanser x = new Cleanser();
    x.dilute(); x.apply(); x.scrub();
    x.print();
  
public voidprint()

 System.out.println(s); 
public voidscrub()

 append(" scrub()");