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 51 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
Thanks for the timely response, appreciate it


Jossy

  • Member
  • Posts: 336
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Symptoms of kidney problems include a loss of appetite, back pain (which may be sudden and intense), chills, abdominal pain, fluid retention, nausea, the urge to urinate, vomiting, and fever.

Did you know?

The Babylonians wrote numbers in a system that used 60 as the base value rather than the number 10. They did not have a symbol for "zero."

Did you know?

If you use artificial sweeteners, such as cyclamates, your eyes may be more sensitive to light. Other factors that will make your eyes more sensitive to light include use of antibiotics, oral contraceptives, hypertension medications, diuretics, and antidiabetic medications.

Did you know?

Drying your hands with a paper towel will reduce the bacterial count on your hands by 45–60%.

Did you know?

Walt Disney helped combat malaria by making an animated film in 1943 called The Winged Scourge. This short film starred the seven dwarfs and taught children that mosquitos transmit malaria, which is a very bad disease. It advocated the killing of mosquitos to stop the disease.

For a complete list of videos, visit our video library