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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:00, lovebug3563
Chloe is building a kiosk-based excel application. she wants to make some modifications to the screen elements in order to keep users from being distracted by parts of the application that are irrelevant to her application. she turns to henry for guidance as she knows he built a similar solution earlier this year. chloe has decided to hide the worksheet gridlines and the vertical scroll bar. what does henry tell her to use to do this? a) screen elements dialog boxb) display options dialog boxc) customization dialog boxd) excel options dialog box
Answers: 2
image
Computers and Technology, 22.06.2019 23:00, brookerebman15
Which type of tab stop is most for weights and measurements?
Answers: 1
image
Computers and Technology, 23.06.2019 18:00, sophx
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
image
Computers and Technology, 23.06.2019 19:00, nayo2006
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
You know the right answer?
Can someone me decode this problem in java:

// makes string comparisons
public...

Questions in other subjects: