¡@

Home 

java Programming Glossary: maaz

Comparing two identical strings with == returns false [duplicate]

http://stackoverflow.com/questions/7375427/comparing-two-identical-strings-with-returns-false

There are no syntax errors however whenever I type in Maaz it evaluates realName Maaz to false and goes to the else statement... however whenever I type in Maaz it evaluates realName Maaz to false and goes to the else statement. import java.util.Scanner.. user input System.out.println Name realName if realName Maaz System.out.println Name Maaz else System.out.println This person..