Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String a = "a";
- String a1 = "a";
- if(a == a1) {
- System.out.println("true");
- }else {
- System.out.println("false");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement