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
Computer Science & Information Technology
You might also like to view...
A(n) ____ causes a value to be sent from a called method back to the calling method.
A. return statement B. method statement C. instantiation D. inheritance relationship
Computer Science & Information Technology
Text data includes special formats, such as image, video, and sound files.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology