subject

Consider the following declarations. String s1 = "apple";
String s2 = "APPLE";

Which of the following expressions is true

A.
s1.equals(s2) && s1.equalsIgnoreCase(s2)
B.
!s1.equals(s2) && s1.equalsIgnoreCase(s2)
C.
s1.equals(s2) && !s1.equalsIgnoreCase(s2)
D.
!s1.equals(s2) && !s1.equalsIgnoreCase(s2)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
An atom's diameter is about 0.1 nanometer (1×10-9m), and a human hair is about 1×10-3m. how many times greater is a human hair than an atom's diameter? sorry pushed wronf button but this is math
Answers: 3
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 03:00
Using a conditional expression, write a statement that increments numusers if updatedirection is 1, otherwise decrements numusers. ex: if numusers is 8 and updatedirection is 1, numusers becomes 9; if updatedirection is 0, numusers becomes 7.
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
Consider the following declarations. String s1 = "apple";
String s2 = "APPLE";

Wh...
Questions
question
Mathematics, 04.01.2020 03:31
question
Social Studies, 04.01.2020 03:31
question
Computers and Technology, 04.01.2020 03:31
Questions on the website: 13722367