Source code for BranJeffKateExample.java:

public class BranJeffKateExample
{
	public static void main(String args[])
	{
		// BranJeffKateExample
		String names[] = { "Jeffrey", "Brandon", "Katelyn" };
		String children[] = new String[3];
		children[0] = names[0];
		children[1] = names[1];
		children[2] = names[2];
		System.out.println(children);
	}
}

Output from BranJeffKateExample.java:

[Ljava.lang.String;@a0dc65

--- Output Ends ---

NOTE:

You are reading previously generated output. You are not currently running the BranJeffKateExample 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