FileDocCategorySizeDatePackage
Buggy.javaAPI DocExample286Sat Mar 03 15:21:54 GMT 2001None

Buggy

public class Buggy extends Object
This program exhibits some bugs, so we can use a debugger

Fields Summary
static String
name
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		int n = name.length();	// bug # 1

		System.out.println(n);

		name += "; The end.";	// bug #2
		System.out.println(name); // #3