1.先給一個PointBean,要求對這個bean進行類型轉換 public class Point { private int x; private int y; public int getX() {