• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: 10 Appendix > Chapter 31

Chapter 31

A1: A, C, and D. CFCs are designed to encourage code reuse and tiered development, and they can indeed be accessed outside of ColdFusion. B and E are false, as CFCs are not needed to access Java or implement error handling (although both can be performed inside of CFCs).
A2: B. empObj is missing # characters, and so a string is being passed instead of the object. A is incorrect, as a path is not always needed. C is incorrect, as method is not used in <cfobject>. D is incorrect because returnvariable is always optional.
A3: B. name is required. The other attributes are all valid but not required.
A4: A. access is set to "remote" to allow remote access.
A5: C, D, E, and G. REQUEST, SESSION, SERVER, and VARIABLES may contain complex data types, and if no scope is specified, then VARIABLES is the default.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint