public static void main(String[] args) { TDVector a = new TDVector(); /* 无参构造,向量的x和y默认为0 */ Scanner sc = new Scanner(System.in); double x,y,z; x = sc.nextDouble(); y = sc.nextDouble(); z = sc.nextDouble(); TDVector b = new TDVector(x, y); /* 按照参数...