FileDocCategorySizeDatePackage
GoodNewline.javaAPI DocExample604Sun Feb 08 17:57:30 GMT 2004None

GoodNewline

public class GoodNewline extends Object
Multiple lines output from one method.
author
Ian F. Darwin, http://www.darwinsys.com/
version
$Id: GoodNewline.java,v 1.4 2004/02/08 23:57:29 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