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 | WaterMark Multimedia | Online Shopping Outlet

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 - 2011 [FaulknerWeb.com]. All rights reserved.
Updated: October 15, 2011 21:53 .