<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[chen97a97的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/chen97a97</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; chen97a97]]></copyright><item><title><![CDATA[用js引入高德地图]]></title><link>https://blog.csdn.net/chen97a97/article/details/127058284</link><guid>https://blog.csdn.net/chen97a97/article/details/127058284</guid><author>chen97a97</author><pubDate>Mon, 26 Sep 2022 20:04:05 +0800</pubDate><description><![CDATA[2.引用高德3D版地图。]]></description><category></category></item><item><title><![CDATA[Java中String 类的常用方法都有哪些？]]></title><link>https://blog.csdn.net/chen97a97/article/details/126097128</link><guid>https://blog.csdn.net/chen97a97/article/details/126097128</guid><author>chen97a97</author><pubDate>Mon, 01 Aug 2022 15:21:06 +0800</pubDate><description><![CDATA[indexOf()，split()，replace()，substring()，toLowerCase()，toUpperCase()，trim()，equals()，length()，charAt()·indexOf() 方法可返回某个指定的字符串值在字符串中首次出现的位置，如果没有找到匹配的字符串则返回 -1]]></description><category></category></item><item><title><![CDATA[Java中如何大小写字母进行转换（ASCII编码）]]></title><link>https://blog.csdn.net/chen97a97/article/details/123736105</link><guid>https://blog.csdn.net/chen97a97/article/details/123736105</guid><author>chen97a97</author><pubDate>Fri, 25 Mar 2022 16:41:02 +0800</pubDate><description><![CDATA[题目：

在控制台输入字符串，把字符串中所有字母大写转换为小写，小写转换为大写，其他字符保持原样，并按之前的顺序输出

做题思路：

首先我们要知道怎么判断字符串中的字符是不是字母

判断字符串中是否包含小写字母：


String str ="weXgWEGwg";
char arr[] =str.toCharArray();
int count =0;//声明一个变量，如果包含小写字母就++
for(int i=0;i&lt;arr.length;i++){
	if(a&gt;='a'&amp;&amp]]></description><category></category></item><item><title><![CDATA[字符串的替换、分割、取值 （split，replace，substring）]]></title><link>https://blog.csdn.net/chen97a97/article/details/123706966</link><guid>https://blog.csdn.net/chen97a97/article/details/123706966</guid><author>chen97a97</author><pubDate>Thu, 24 Mar 2022 13:31:14 +0800</pubDate><description><![CDATA[一、替换（replace）


public String replace(char searchChar, char newChar)    


	searchChar-- 原字符。
	
	
	newChar-- 新字符。
	

String ss = "abcccbef"; 
System.out.println("ss是："+ss.replace('c', 'b'));

把声明字段ss里的c替换成了b，输出的结果应该是abbbbbef

二、分割（split）


String ss = "a..]]></description><category></category></item><item><title><![CDATA[什么是拆箱和装箱？]]></title><link>https://blog.csdn.net/chen97a97/article/details/123705912</link><guid>https://blog.csdn.net/chen97a97/article/details/123705912</guid><author>chen97a97</author><pubDate>Thu, 24 Mar 2022 11:08:17 +0800</pubDate><description><![CDATA[装箱：从值类型接口转换到引用类型。

拆箱：从引用类型转换到值类型。




object obj = null;//引用类型

obj = 1;//装箱，把值类型包装为引用类型。

int i1 = (int)obj;//拆箱


]]></description><category></category></item><item><title><![CDATA[关于string build的一些方法]]></title><link>https://blog.csdn.net/chen97a97/article/details/120860514</link><guid>https://blog.csdn.net/chen97a97/article/details/120860514</guid><author>chen97a97</author><pubDate>Wed, 20 Oct 2021 10:12:41 +0800</pubDate><description><![CDATA[• StringBuilder()

构造一个空的字符串构建器。

• int length()

返回构建器或缓冲器中的代码单元数量。

• StringBuilder append(String str)

追加一个字符串并返回 this。

• StringBuilder append(char c)

追加一个代码单元并返回 this。

• StringBuilder appendCodePoint(int cp)

追加一个代码点，并将其转换为一个或两个代码单元并返回 this。

• void]]></description><category></category></item><item><title><![CDATA[Array 和 ArrayList 的区别]]></title><link>https://blog.csdn.net/chen97a97/article/details/120748208</link><guid>https://blog.csdn.net/chen97a97/article/details/120748208</guid><author>chen97a97</author><pubDate>Wed, 13 Oct 2021 17:16:09 +0800</pubDate><description><![CDATA[Array 是数组，ArrayList 是集合

Array 对象的初始化必须指定大小，且创建后的数组大小是固定的， 而 ArrayList 的大小可以动态指定，也就是说该对象的空间可以任意增加。

Array 不能够随意添加和删除其中的项，而 ArrayList 可以在任意 位置插入和删除项。
...]]></description><category></category></item><item><title><![CDATA[下列关于Java对import语句规定的叙述中，错误的是]]></title><link>https://blog.csdn.net/chen97a97/article/details/120722592</link><guid>https://blog.csdn.net/chen97a97/article/details/120722592</guid><author>chen97a97</author><pubDate>Tue, 12 Oct 2021 14:20:06 +0800</pubDate><description><![CDATA[下列关于Java对import语句规定的叙述中，错误的是

　　A）在Java程序中import语句可以有多个

　　B）在Java程序中import语句可以没有

　　C）在Java程序中import语句必须有一个

　　D）在Java程序中import语句必须引入在所有类定义之前



选C，import语句可以一个也没有，也可以有很多个，也可以再类定义之前导入
...]]></description><category></category></item><item><title><![CDATA[java中的冒泡排序实例]]></title><link>https://blog.csdn.net/chen97a97/article/details/120701603</link><guid>https://blog.csdn.net/chen97a97/article/details/120701603</guid><author>chen97a97</author><pubDate>Mon, 11 Oct 2021 14:00:50 +0800</pubDate><description><![CDATA[一、冒泡排序算法的运作如下:(从后往前)

比较相邻的元素。如果第一个比第二个大，就交换他们两个。

对每一对相邻元素作同样的工作，从开始第一对到结尾的最后一对。在这一点，最后的元素应该会是最大的数。

针对所有的元素重复以上的步骤，除了最后一个。

持续每次对越来越少的元素重复上面的步骤，直到没有任何一对数字需要比较。如下图





二、代码展示：


 //冒泡排序法的目的就是通过将数组内的元素从小到大或从大到小排序的方法. 
 int[] x ={ 12, 59, 2, 89, 15, 48, 5.]]></description><category></category></item></channel></rss>