Source code for JohnBigbootyExample.java:

import java.util.*;

public class JohnBigbootyExample
{
	public static void main(String args[])
	{
		// JohnBigbootyExample
		String name = new String("John Bigbooty");
		Integer age = new Integer(30);
		Double salary = new Double(82312.44);
		Vector record = new Vector();
		record.add(name);
		record.add(age);
		record.add(salary);
		System.out.println(record);
	}
}

Output from JohnBigbootyExample.java:

[John Bigbooty, 30, 82312.44]

--- Output Ends ---

NOTE:

You are reading previously generated output. You are not currently running the JohnBigbootyExample application at the momement. You need to compile and run the source code first.

To run this program:


Authors: Kevin Chu and Eric Brower
Copyright 2000 Prentice Hall PTR