public
class
Example{
String str=
new
String(
"tarena"
);
char
[]ch={
'a'
,
'b'
,
'c'
};
public
static
void
main(String args[]){
Example ex=
new
Example();
ex.change(ex.str,ex.ch);
System.out.print(ex.str+
" and "
);
System.out.print(ex.ch);
}
public
void
String引用错题
最新推荐文章于 2022-07-14 12:00:31 发布