You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class MyPoint {
private Point mEsriPoint;
public double getX() { {
return mEsriPoint.getX();
}
}
That is similar to how we'd work with, say, String, Float, Double classes rather than extending them. You can read more about 'favoring composition over inheritance' in Effective Java, p.81.
This will enable us to extent the class for another frameworks
The text was updated successfully, but these errors were encountered: