50 points and brainlist Assume the String objects x and y are initialized as shown below. What is the value of the expression word1.compareTo(word2)?

String word1 = "stay";
String word2 = "strong";

−1
0
1
A negative integer
A positive integer



Answer :

Other Questions