Integer
Void
Boolean
String
Answer is Right!
Answer is Wrong!
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.