1. 首页
  2. 操作系统
  3. MacOS
  4. java中字符串运算

java中字符串运算

上传者: 2020-08-29 19:57:36上传 JAVA文件 2.28KB 热度 12次
g.drawString("字符串s1的长度为:"+n1,5,70); g.drawString("字符串s2的前缀是否为we? "+s2.startsWith("we"),5,90); String s3[]={"door","apple","Applet","girl","boy"}; g.drawString("s3=door,apple,Applet,girl,boy",5,110); for(int i=0;i
用户评论