Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.Point;
- public class xd {
- public static void main(String[] args){
- Point b = new Point(3,4);
- Point a = b;
- b.setLocation(4,4);
- System.out.println(a.getX());
- //////////////////////////
- String sb = "3";
- String sa = sb;
- sb = "4";
- System.out.println(sa);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement