PrimitiveVsObjectComparisonExample3

From ggc

Jump to: navigation, search

Compiled in 0.046 seconds.

01 /**
02  * All about my application here.
03  @author Jam Jenkins
04  */
05 import java.awt.geom.*;
06 
07 public class PrimitiveVsObjectComparisonExample3
08 {
09    public static void main(String[] args)
10    {
11       Point2D.Double x=new Point2D.Double(55);
12       Point2D.Double y=new Point2D.Double(66);
13       Point2D.Double z=y;
14       z.x=4;
15       x.y=4;
16 
17       System.out.println("y.x is "+y.x);
18    }
19 }


Download/View PrimitiveVsObjectComparisonExample3.java




Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter