Question: Given two Strings s 1 = Welcome to Java and s 2 = Programming is fun, which of the following is true? Question 1 4

Given two Strings s1= "Welcome to Java" and s2= "Programming is fun", which of the following is true?
Question 14 options:
A)
s1.equals(s2)
B)
s2.equals(s1)
C)
s1.contains(s2)
D)
s2.contains(s1)
E)
!s1.contains(s2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!