单项选择题

现有: 
Public/project]class TestFoo {  
int x;  
String y;  
int getX() { return x; } (4,5,6是方法)  
String getY() { return y; }  
void setX(int x) {  
int z = 7;  
this.x = x;  
}  
}  
Private代表属性封装可以添加多少个修饰符来封装此类?()

A.2
B.3
C.4
D.5