The Contains Method returns . . . . . . . . value.

Integer
Void
Boolean
String

The correct answer is C. Boolean.

The Contains method returns a Boolean value indicating whether the specified value is contained within the string.

Option A is incorrect because the Contains method does not return an Integer value.

Option B is incorrect because the Contains method does not return a Void value.

Option D is incorrect because the Contains method does not return a String value.

Exit mobile version