This topic contains a solution. Click here to go to the answer

Author Question: Given two String variables, s1 and s2, is it possible for (s1 != s2) to be true while ... (Read 62 times)

magmichele12

  • Hero Member
  • *****
  • Posts: 559

Question 1

For the questions below: Assume an interactive Java program which asks the user for their first name and last name, and outputs the user's initials.


Write a statement using a method to guarantee that the initial will be a capital letter.

Question 2

Given two String variables, s1 and s2, is it possible for (s1 != s2) to be true while (s1.equals(s2)) is also true?  Why or why not?


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by magmichele12 on Aug 30, 2020

miss_1456@hotmail.com

  • Sr. Member
  • ****
  • Posts: 289
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 64% of students answer this correctly




magmichele12

  • Member
  • Posts: 559
Reply 2 on: Aug 30, 2020
YES! Correct, THANKS for helping me on my review


bblaney

  • Member
  • Posts: 323
Reply 3 on: Yesterday
Excellent

 

Did you know?

The eye muscles are the most active muscles in the whole body. The external muscles that move the eyes are the strongest muscles in the human body for the job they have to do. They are 100 times more powerful than they need to be.

Did you know?

Only 12 hours after an egg cell is fertilized by a sperm cell, the egg cell starts to divide. As it continues to divide, it moves along the fallopian tube toward the uterus at about 1 inch per day.

Did you know?

The first monoclonal antibodies were made exclusively from mouse cells. Some are now fully human, which means they are likely to be safer and may be more effective than older monoclonal antibodies.

Did you know?

According to the National Institute of Environmental Health Sciences, lung disease is the third leading killer in the United States, responsible for one in seven deaths. It is the leading cause of death among infants under the age of one year.

Did you know?

Though the United States has largely rejected the metric system, it is used for currency, as in 100 pennies = 1 dollar. Previously, the British currency system was used, with measurements such as 12 pence to the shilling, and 20 shillings to the pound.

For a complete list of videos, visit our video library