为什么我这个程序中的变量x与y不能显示?如题,为什么不能像变量salary一样输出?
class Employee{ double salary; double x, y; public Employee(double x, double y) { this.x = x; this.y=y; salary = 30; }}