笔试题2.docVIP

  • 6
  • 0
  • 约3.83万字
  • 约 15页
  • 2016-11-25 发布于河南
  • 举报
笔试题2

笔试题2 涓€銆侀€夋嫨棰? 銆€銆€1銆佷笅闈㈠摢浜涙槸java璇█涓殑鍏抽敭瀛? A sizeof B abstract C NULL D Native 绛旓細B 銆€銆€2銆佷笅闈㈣鍙ュ摢涓槸姝g‘鐨? A char=abc; B long l=oxfff; C float f=0.23; D double=0.7E-3; 绛旓細D 銆€銆€3銆佷互涓嬬▼搴忔祴璇昐tring 绫荤殑鍚勭鏋勯€犳柟娉曪紝璇曢€夊嚭鍏惰繍琛屾晥鏋溿€? 銆€銆€public class abc { 銆€銆€public static void main(String args[]){ 銆€銆€String s1=new String(); 銆€銆€String s2=new String(String 2); 銆€銆€char chars[]={a, ,s,t,r,i,n,g}; 銆€銆€String s3=new String(chars); 銆€銆€String s4=new String(chars,2,6); 銆€銆€byte bytes[]={0,1,2,3,4,5,6,7,8,9}; 銆€銆€StringBuffer sb = new StringBuffer(s3); 銆€銆€String s5=new String(sb); 銆€銆€System.out.printl

文档评论(0)

1亿VIP精品文档

相关文档