PrepAway - Latest Free Exam Questions & Answers

How is the balance attribute mapped to Java in the client stub?

Consider the following IDL definition:
module accounts
{
interface Checking
{
attribute float balance;
void withdraw (in float amount);
};

};
How is the balance attribute mapped to Java in the client stub?

PrepAway - Latest Free Exam Questions & Answers

A.
The balance attribute will map to a single member method.

B.
The balance attribute will map to a single member variable.

C.
The balance attribute will map to two member methods.

D.
The balance attribute will map to two member variables.


Leave a Reply