FileDocCategorySizeDatePackage
BadNewline.javaAPI DocExample624Sat Nov 25 12:55:26 GMT 2000None

BadNewline

public class BadNewline extends Object
DON'T DO THIS. THIS IS BAD CODE.
author
Ian F. Darwin, ian@darwinsys.com
version
$Id: BadNewline.java,v 1.2 2000/11/25 17:55:27 ian Exp $

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

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

		BadNewline jack = new BadNewline("Jack Adolphus Schmidt, III");
		System.out.println(jack);
	
public java.lang.StringtoString()
DON'T DO THIS. THIS IS BAD CODE.

		return "BadNewlineDemo@" + hashCode() + "\n" + myName;