subject

Can someone me decode this problem in java:

// makes string comparisons
public class debugseven1
{
public static void main(string[] args)
{
string name1 = "roger";
string name2 = "roger";
string name3 = "stacy";

if(name1.equals(name2))
system. out. println(name1 + " and " + name3 +
" are the same");
if(name1.
system. out. println(name1 + " and " + name3 +
" are the same");
if(name1.equals(roger))
system. out. println(name1 + " and 'roger' are the same);
if(name1.equals("roger")
system. out. println(name1 and 'roger' are the same");
}
}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 19:00
Choose the correct citation for the case which established the "minimum contacts" test for a court's jurisdiction in a case. select one: a. brown v. board of education of topeka, 347 u.s. 483 (1954). b. international shoe co. v. washington, 326 u.s. 310 (1945) c. haynes v. gore, 531 u.s. 98 (2000). d. international shoe co. v. washington, 14 u.s. code 336.
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
Will do anything for brainlest so can you guys me out i will try my best to you out
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
Drums installed, you would apply clicks of the parking brake to obtain a slight drag on both rear wheels
Answers: 1
question
Computers and Technology, 24.06.2019 21:00
How does a vaccine prevent sickness and individual?
Answers: 2
You know the right answer?
Can someone me decode this problem in java:

// makes string comparisons
public...
Questions
question
Mathematics, 20.01.2021 08:40
question
Computers and Technology, 20.01.2021 08:40
question
Mathematics, 20.01.2021 08:40
question
Mathematics, 20.01.2021 08:40
question
Mathematics, 20.01.2021 08:40
question
Biology, 20.01.2021 08:40
question
Mathematics, 20.01.2021 08:40
question
Mathematics, 20.01.2021 08:40
Questions on the website: 13722361