The IDL union type can be used for a parameter that will need to pass one of a small number of types. Use it to define the type of a parameter that is sometimes empty and sometimes has the type Value.

What will be an ideal response?


```
union ValueOption switch (boolean){
case TRUE: Value value;
};
```
When the value of the tag is TRUE, a Value is passed. When it is FALSE, only the tag is passed.

Computer Science & Information Technology

You might also like to view...

In a C++ program, two slash marks ( // ) indicate the beginning of

A) a block of code. B) a comment. C) a variable definition. D) a program. E) none of the above.

Computer Science & Information Technology

Define discrete multitone.

What will be an ideal response?

Computer Science & Information Technology

Which of the followingFile Transfer Protocol (FTP) clients is available only for the Windows platform??

A. ?SmartFTP B. ?FlameFTP C. ?RealFTP D. ?HintFTP

Computer Science & Information Technology

A pentagon has ____ corners.

A. three B. four C. five D. six

Computer Science & Information Technology