Chapter 15


A1:

B. Remember that structures are pointers. Both of the structures (A and B) are the same structure, and each equals 2 after being set a second time.

A2:

B. The attributes that are used with a <cfloop> and a structure are item and collection. # must be used around the structure within the collection attribute.

A3:

A. StructNew() takes no parameters. The other three options are all valid.

A4:

B and C. A is invalid, because spaces are not allowed in key names when using dot notation. B is valid, as long as lastname is a variable containing a valid key name. C is standard dot notation. D is invalid, because quotes are not allowed in key names.



Macromedia ColdFusion MX 7 Certified Developer Study Guide
Macromedia ColdFusion MX 7 Certified Developer Study Guide
ISBN: 0321330110
EAN: 2147483647
Year: 2004
Pages: 389
Authors: Ben Forta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net