The type All was defined as a sequence of fixed length. Redefine this as an array of the same length. Give some recommendations as to the choice between arrays and sequences in an IDL interface
What will be an ideal response?
typedef Shape All[100];
Recommendations
• if a fixed length structure then use an array.
• if variable length structure then use a sequence
• if you need to embed data within data, then use a sequence because one may be embedded in another
• if your data is sparse over its index, it may be better to use a sequence of
You might also like to view...
In the object-oriented approach, a __________ is a process that accesses and manipulates the object’s data.
a. method b. module c. procedure d. routine
What are two valid steps in the six step troubleshooting method discussed in this chapter?
A. Boot to Safe Mode B. Establish a Theory C. Document outcomes D. Reinstall Windows
What attribute do you use to group check boxes to allow the user to select multiple values for the same property?
A. name B. multi C. group D. select
Because the values in pointers are all addresses, any pointer can be assigned to any other pointer.
Answer the following statement true (T) or false (F)