Question: if string str1 = Forest and string str2 = School, then what is the value of str1. compareTo (str2);? (2 points)
if string str1 = "Forest" and string str2 = "School", then what is the value of str1. compareTo (str2);? (2 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
