java实验4.1(String1.java )

时间:2014-01-31 14:00:54
【文件属性】:

文件名称:java实验4.1(String1.java )

文件大小:3KB

文件格式:RAR

更新时间:2014-01-31 14:00:54

String1.java

Write a program called String1.java and do the following: Create a String object that accepts input from the user. Referencing the JDK docs, execute 2 different methods on the String. Print the results of the methods. Result: Input a string: How are you length of string is 11 first 5 bytes of string are How a


【文件预览】:
实验4.1
----.project(385B)
----bin()
--------String1.class(1KB)
--------Test.class(445B)
----.settings()
--------org.eclipse.jdt.core.prefs(629B)
----src()
--------String1.java(338B)
--------Test.java(194B)
----.classpath(301B)

网友评论

  • 达到程序运行结果,学习java的可下载看看。
  • 达到了实验的要求,有需要的同学可以看下