FileDocCategorySizeDatePackage
BadNewline.javaAPI DocExample632Sun Feb 08 17:57:30 GMT 2004None

BadNewline

public class BadNewline extends Object
DON'T DO THIS. THIS IS BAD CODE.
author
Ian F. Darwin, http://www.darwinsys.com/
version
$Id: BadNewline.java,v 1.3 2004/02/08 23:57:29 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;