Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class eq
- {
- public static void main(String args[])
- {
- String s1 = “Hello”;
- String s2 = new String(s1);
- System.out.println(s1==s2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement