How can Peter accomplish this task?
Peter is writing a Java agent for his application that will need to read data from a text file on the server.
How can Peter accomplish this task?
A . Use the Session class createFile method and use the File class methods to get the data from the file.
B . Use the Session class Open method and use the standard Java IO methods to get the data from the file.
C . Use the Session class createStream method and use the Stream class methods to get the data from the file.
D . Use the Session class getDatabse method, supply the name of the file instead of a database name, and use the Database class methods toread the file.
Answer: C
Latest C2040-410 Practice Questions with 116 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments