A

Admin • 828.70K Points
Coach

Q. What is returned by:
"Java Programming".contains("Pro")?

  • (A) true
  • (B) false
  • (C) Pro
  • (D) Exception

Explanation by: Admin
The string "Java Programming" contains "Pro", so it returns true.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.