Week 10 Discussion

 

1. Can an array represent more than one type of value? Explain.

No. An array can only represent one data type. (p. 382)

 

2. Choose five problems out of 8.10 - 8.21 in the textbook.

8.17) b = a --> yes because they both reference int element types

8.18) d = b --> no, because d and b are not the same element types

8.19) b = d --> no, because d and b are not the same element types

8.20) int m = a.length --> yes, because length returns the number of elements as an int

8.21) int n = a.size --> yes, because size is returned as the number of bytes as an int

 

3. Choose one from 8.30 and 8.41 in the textbook

I'm still trying to get a good algorithm that will process the methods as they need to be processed.  Sorry for the delay.

 

Send me email

Visit my website

 


 

Home | Photos | Favorite Links | Matt's Bio

UMUC | Feedback | Guest book | E-mail me

 

FaulknerWeb.com is designed and managed by Matt Faulkner

Domain Name service provided by Namesecure

Web Service by eDataRack
Copyright © 1998 - 2009 [FaulknerWeb.com]. All rights reserved.
Updated: June 16, 2009 09:35 .