2. |
What Java operations interface will be produced by the following IDL?
module weather
{
interface WeatherService
{
string getReport(in string city, out long temperature);
};
};
Please select the best answer.
|
|
A.
|
package weather;
public interface WeatherServiceOperations
{
public java.lang.String getReport(java.lang.String city,
int temperature);
}
|
|
B.
|
package weather;
public interface WeatherServiceOperations
{
public java.lang.String getReport(java.lang.String city,
org.omg.CORBA.LongHolder temperature);
}
|
|
C.
|
package weather;
public interface WeatherServiceOperations
{
public java.lang.String getReport(java.lang.String city,
org.omg.CORBA.IntHolder temperature);
}
|