文件名称:StringTest.rar
-
所属分类:
- 标签属性:
- 上传时间:2012-08-22
-
文件大小:752byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个Java应用程序,实现如下功能:
1)判断两个字符串是否相同,s1=”you are a student”,s2=”how are you”;
2)判断字符串”22030219851022024”的前缀、后缀是否和某个字符串”220302”相同;
3)按字典顺序比较两个字符串”你”和”我”的大小关系;
4)将数字型字符串”100”和”123.678”转换为数字;
5)将字符串”FEDCBA”存放到数组中,调用for循环读出数组数据显示在屏幕上。
,Write a Java application, to achieve the following functions: 1) to determine whether the same two strings, s1 = " you are a student" , s2 = " how are you" 2) to determine the string " 22030219851022024" prefix, suffix whether and a string " 220,302" the same 3) according to the dictionary in order to compare two strings " you" and " me" the size of the relationship 4) the numeric string " 100" and " 123.678" conversion to digital 5 ) will be the string " FEDCBA" store to the array, calling for loop to read out an array of data displayed on the screen.
1)判断两个字符串是否相同,s1=”you are a student”,s2=”how are you”;
2)判断字符串”22030219851022024”的前缀、后缀是否和某个字符串”220302”相同;
3)按字典顺序比较两个字符串”你”和”我”的大小关系;
4)将数字型字符串”100”和”123.678”转换为数字;
5)将字符串”FEDCBA”存放到数组中,调用for循环读出数组数据显示在屏幕上。
,Write a Java application, to achieve the following functions: 1) to determine whether the same two strings, s1 = " you are a student" , s2 = " how are you" 2) to determine the string " 22030219851022024" prefix, suffix whether and a string " 220,302" the same 3) according to the dictionary in order to compare two strings " you" and " me" the size of the relationship 4) the numeric string " 100" and " 123.678" conversion to digital 5 ) will be the string " FEDCBA" store to the array, calling for loop to read out an array of data displayed on the screen.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
StringTest.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.