【usbotg源码】【优化macd的源码】【jvm源码内存屏障】eclipse 源码统计
1.eclipse Դ?码统usbotg源码?ͳ??
eclipse Դ??ͳ??
public class F {
private int female =0;
private int male =0;
private int sum =0;
public void set_female(int i){
female = i;
}
public void set_male(int i){
male = i;
}
public void set_sum(){
sum = female + male;
}
public int get_female(){
return female;
}
public int get_male(){
return male;
}
public int get_sum(){
return sum;
}
public static void main(String[] args) {
F f = new F();
f.set_female(2);
f.set_male();
f.set_sum();
System.out.println(f.get_female());
System.out.println(f.get_male());
System.out.println(f.get_sum());
}
}