(Solved) : Consider Code Creates Location Objects Location B C New Location 10 20 B Location Clone Bs Q30868446 . . .
Consider this code that creates some Location objects: Locationa, b, c; a = new Location(10,20); b = (Location) a.clone( );b.shift(3,0); .. After this code executes, what are thex-coordinates of a and b? Also, write two clear sentences tellingme the difference between = and the clone method for the Locationclass.
Expert Answer
Answer to Consider Code Creates Location Objects Location B C New Location 10 20 B Location Clone Bs Q30868446 . . .
OR