Question: 1. The RegEx expression [^xyz] does this a. Matches uppercase XYZ b. Matches all letters except xyz c. Matches all letters except XYZ d. None
1. The RegEx expression [^xyz] does this
a. Matches uppercase XYZ
b. Matches all letters except xyz
c. Matches all letters except XYZ
d. None of the above
2. The RegEx expression[m-t&& [^rs]] does this
a. Matches all letters m thru s
b. Matches all letters m thru t
c. Matches all letter m thru q and t
d. None of the above
3. In the statement s1.compareTo(s2), if s1="hello" and 2="goodbye", what is the result of executing the statement?
a. 0
b. -1
c. 1
d.-10
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
