FileDocCategorySizeDatePackage
GoodNewline.javaAPI DocExample596Tue Mar 13 15:32:32 GMT 2001None

GoodNewline

public class GoodNewline extends Object
Multiple lines output from one method.
author
Ian F. Darwin, ian@darwinsys.com
version
$Id: GoodNewline.java,v 1.3 2001/03/13 20:32:33 ian Exp $

Fields Summary
String
myName
Constructors Summary
public GoodNewline(String s)

		myName = s;
	
Methods Summary
public static voidmain(java.lang.String[] argv)

		GoodNewline jack = new GoodNewline("Jack Adolphus Schmidt, III");
		jack.print(System.out);
	
protected voidprint(java.io.PrintStream out)

		out.println(toString());	// classname and hashcode
		out.println(myName);		// print name  on next line