Solved

String S1 Is Said to Overlap String S2 If All

Question 21

Essay

String s1 is said to overlap String s2 if all of the characters in s1 also appear in s2. Write a set of code that will set the boolean variable overlap to True if s1 overlaps s2 and false otherwise. Assume both s1 and s2 have already been input.

Correct Answer:

verifed

Verified

boolean overlap = True; // assume the tw...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions