
What is the output of the following code? class Mairn public static void main(String args[l) string abc “Welcome to Chegg” String xyz – new String(abc) if (abc- xyz) System.out.println( (abcxyzabc.equals(xyz)); else System.out.println((abc xyz)abc.equals(xyz)); a. 10 b. 0 true c. false true d. true true Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . . .