JAVA定级考试题目参考.pdfVIP

  • 13
  • 0
  • 约5.38万字
  • 约 56页
  • 2018-12-31 发布于浙江
  • 举报
一、 填空 (3’×10) 1、Java 中类成员的限定词有以下几种:private, public,___protected___,__friend____。其中,_public_____的限定的范围最大。 2、publicclassExample{ String str new String(good); char[]ch {a,b,c}; public staticvoidmain(String args[]){ Exampleex new Example(); ex.change(ex.str,ex.ch); System.out.print(ex.str+and ); Sytem.out.print(ex.ch); } publicvoid change(String str,char ch[]){ str test ok; ch[0]

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档