Salesforce Certified Platform Developer II — Question 259

Which of the following object types can be used with a Web Service?

Answer options

Correct answer: E

Explanation

Lists are the correct answer because they can be serialized and easily transmitted over a network, making them suitable for Web Services. Other options like Maps, Sets, Pattern objects, Matcher objects, and Exception objects are not typically used in the same context as they might not be easily serialized or are not standard data types for Web Services.