This site requires JavaScript, please enable it in your browser!
Greenfoot back
joseph.a
joseph.a wrote ...

2016/6/21

what will it print

joseph.a joseph.a

2016/6/21

#
studying for finals / exam need help What will the following code print? String name = "Jayme"; Boolean same = name.equals("Andrew"); System.out.println(same); a)Andrew b)false c)true d)Jayme
danpost danpost

2016/6/21

#
The last line is the "print" line. What is it printing? HINT: what type of variable is being printed? what value was assigned to the variable?
You need to login to post a reply.