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?

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?

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 0

Your email address will not be published. Required fields are marked *