Re: Java Arrays Question

  • From: "Littlefield, Tyler" <tyler@xxxxxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Tue, 29 Mar 2011 08:33:11 -0600

Jim:
An array like in some languages (Javascript, for one) is not a class. It is just a collection of elements. There may be functions to operate on arrays, but it's not a class.
On 3/29/2011 8:14 AM, Homme, James wrote:

Hi,

I pasted the statement from here. http://download.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html

Jim

*From:*programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] *On Behalf Of *Littlefield, Tyler
*Sent:* Tuesday, March 29, 2011 9:54 AM
*To:* programmingblind@xxxxxxxxxxxxx
*Subject:* Re: Java Arrays Question

Did you read his message? google won't do any good, since an array is not a class, and I think he was viewing it as a class.
On 3/29/2011 7:52 AM, John G wrote:

Google is your best friend, Jim.
java class class_name
Usually brings up the right pages for me.
Kind regards
John
At 14:45 29/03/2011, you wrote:

Hi,
When you write
anArray = new int[10];  // create an array of integers

Does this make an instance of an array class? If so, where is the documentation for the class. I have to be missing it.

Thanks.

Jim

This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.




--
Thanks,
Ty


--

Thanks,
Ty

Other related posts: