package demo02;
public class cell {
Stringbrand ;
public void xudian(){
System.out.println(brand+"电池在蓄电");
}
}
package demo02;
public class testcell {
public static void main(String[] args) {
cell dianchi =new cell();
dianchi.brand="南孚";
dianchi.xudian();
}
}