;// 2 堆中一个,方法区一个 String s2="abc";// 0 String s3=new String("abc");// 1 堆中一个 String s4="he"+"ll"+"o ...
分类:
编程语言 时间:
2020-06-27 20:20:43
阅读次数:
53
示例1 @Test public void test() { String s1 = "AB"; // "AB" 放到了字符串常量池种 String s2 = new String("AB"); //new出来的对象,对象放堆上 String s3 = "A"; String s4 = "B"; S ...
分类:
其他好文 时间:
2020-06-23 00:59:26
阅读次数:
55
 安装完成后在文件夹根目录下生成 ...
分类:
系统相关 时间:
2020-06-08 20:50:39
阅读次数:
189
方案一 1、在清单文件中添加以下权限: <uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY"/> 方案二 去SAMSUNG Devel ...
分类:
移动开发 时间:
2020-05-29 13:50:20
阅读次数:
121
1.用链表加循环的方式 n=123 f=456.456 s1='Hello,world' s2='Hello,\'lihua\'' s3=r'hello,"Bart"' s4=r'''hello Lisa!''' L=[n,f,s1,s2,s3,s4] for M in L: print(M) 2. ...
分类:
编程语言 时间:
2020-05-28 22:01:58
阅读次数:
424