java字符串拼接方式和区别
1、拼接方式<blockquote常见拼接方式有以下四种:<br/(1)<strong使用符号‘’拼接</strong<br/(2)<strongString类中的concat方法拼接</strong<br/(3)<strong使用StringBuffe
1、拼接方式<blockquote常见拼接方式有以下四种:<br/(1)<strong使用符号‘’拼接</strong<br/(2)<strongString类中的concat方法拼接</strong<br/(3)<strong使用StringBuffe
原文地址(https://link.segmentfault.com/?encOW9D4HS%2Fra1bIT0t51MRUg%3D%3D.Qhf5lmQGZfttafx3fF%2F6rvnHmN%2FDNhum3%2BlhjAUbdJN2WEm3CMhD6%2F2K8hl1u4CiuH%2F
方法1,使用clear/0函数<pre<codeiex(1)>hclear/0defclear()Cleartheconsolescreen.iex(2)></code</pre方法2,快捷键mac使用<c