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, 21.06.2019 22:00
Draw the hierarchy chart and design the logic for a program that calculates service charges for hazel's housecleaning service. the program contains housekeeping, detail loop, and end-of-job modules. the main program declares any needed global variables and constants and calls the other modules. the housekeeping module displays a prompt for and accepts a customer's last name. while the user does not enter for the name, the detail loop accepts the number of bathrooms and the number of other rooms to be cleaned. the service charge is computed as $40 plus $15 for each bathroom and $10 for each of the other rooms. the detail loop also displays the service charge and then prompts the user for the next customer's name. the end-of-job module, which executes after the user enters the sentinel value for the name, displays a message that indicates the program is complete.
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Your company has 1,500 desktop computers running windows 7. you want to upgrade them to windows 10. which type of microsoft license would be best suited in this situation?
Answers: 3
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 13:10
What is domain name system (dns)? allows dynamic ip address allocation so users do not have to have a preconfigured ip address to use the network converts ip addresses into domains, or identifying labels that use a variety of recognizable naming conventions the efficient coexistence of telephone, video, and data communication within a single network, offering convenience and flexibility not possible with separate infrastructures the integration of communication channels into a single service
Answers: 2
You know the right answer?
Consider the following declarations. String s1 = "apple";
String s2 = "APPLE";

Wh...
Questions
question
Mathematics, 16.10.2020 01:01
question
Mathematics, 16.10.2020 01:01
Questions on the website: 13722367