Java图式(第三章 流程控制、数组) 1、分支语句 1)if-else语句 2)switch语句 2、循环语句 1)while语句 while返回值不是1/0,必须是布尔表达式 2)do-while语句 3)for语句 4)continue/break语句 标号是对语句块/循环命名。eg:A:循环 ...
分类:
编程语言 时间:
2019-09-30 19:45:38
阅读次数:
105
and how many of you know at least one person that you because you just do not want to talk to them.you know, it used to be that in order to have a pol ...
分类:
其他好文 时间:
2019-09-30 09:18:23
阅读次数:
83
报错背景 今天使用AndroidKiller V1.3.1,反编译一个APK,遇到如下报错: 解决 参考这位大佬的博客:https://blog.csdn.net/u012400885/article/details/80409689 进行解决: 下载新版本的Apktool地址:https://do ...
分类:
移动开发 时间:
2019-09-29 21:49:45
阅读次数:
1582
/*控制语句:--选择结构: if.if…else switch --循环结构: for while do...while() --控制循环语句: break continue if:关于java语言当中的if语句,属于选择结构,if语句又被称为分支语句/条件控制语句:第一种:if(布尔表达式){ ...
分类:
编程语言 时间:
2019-09-29 09:50:04
阅读次数:
90
主库配置 server_id=1read-only=0replicate-do-db=mydatalog-bin=mysql-bin 主库权限设置 GRANT replication slave ON *.* TO'backup'@'%' identified BY 'password'; flus ...
分类:
数据库 时间:
2019-09-28 23:07:40
阅读次数:
122
#!/bin/bash user="root" password="123456" mycmd="mysql -u$user -p$password" for dbname in tec stu do $mycmd -e "create database $dbname;" $mycmd -e "u... ...
分类:
数据库 时间:
2019-09-28 17:50:06
阅读次数:
105
阶段1事情的起因是同事写了这样一段代码。123@synchronized(@"test synchronized"){ NSLog(@"do something");}于是我指出这样应该是锁不住的,因为 synchronized 锁的是对象,而每次创建的字符串都是新对象,所以锁不住。同事跟我说,“n... ...
分类:
其他好文 时间:
2019-09-28 10:53:16
阅读次数:
130
1 #!/bin/bash 2 word=`cat /usr/share/dict/linux.words` 3 for i in $word 4 do 5 if [ $1 = $i ];then 6 echo "$1存在" 7 exit 8 fi 9 done 10 echo "$1不存在" ...
分类:
其他好文 时间:
2019-09-28 10:33:05
阅读次数:
62
第一题 1.已知字符串:"this is a test of java".按要求执行以下操作:(要求源代码、结果截图。) 统计该字符串中字母s出现的次数。 统计该字符串中子串“is”出现的次数。 统计该字符串中单词“is”出现的次数。 实现该字符串的倒序输出。 ··· public class Do ...
分类:
其他好文 时间:
2019-09-27 22:39:11
阅读次数:
75
Gargari got bored to play with the bishops and now, after solving the problem about them, he is trying to do math homework. In a math book he have fou ...
分类:
其他好文 时间:
2019-09-27 19:00:35
阅读次数:
106