- 博客(13)
- 收藏
- 关注
原创 CentOs下干净卸载Mysql
对于CentOS卸载Mysql,百度了好多都没有卸载干净,走了好动坑,这个是我亲身试验之后的步骤,本人亲测有效。做了如下总结1关闭MySQL服务[root@server bin]# service mysql stopShutting down MySQL.. SUCCESS! [root@server bin]# service mysql status ERROR! MySQL is not ...
2018-05-04 22:46:19
1295
原创 Login函数
import java.util.Scanner;public class LoginFunction { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("确定存储空间长度: "); int length = sc.nextI
2016-11-06 20:39:41
3444
原创 新增密码函数
import java.util.Scanner;public class IncreatmentUserPassword { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); System.out
2016-11-06 20:39:04
979
原创 新增用户函数
import java.util.Scanner;public class IncreatmentUserName { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); System.out.pri
2016-11-06 20:38:01
308
原创 计算函数count
public class CounterFunction { public static void main(String[] args) { // TODO Auto-generated method stub run(); } public static void run() { Scanner sc = new Scanner(System.in); Sy
2016-11-06 20:36:51
399
原创 99乘法表函数
public class JiuJiuMultiplication { public static void main(String[] args) { rows(); } public static void rows() { for (int i = 1; i column(i); System.out.println(); } } pu
2016-11-06 20:35:59
335
原创 分割数组
public class SplitArrayFunction { public static void main(String[] args) { // TODO Auto-generated method stub// Scanner sc=new Scanner(System.in);// System.out.println("输入10个数组元素: ");//
2016-11-06 20:35:01
218
原创 数组函数
public class ArrayVoluation { public static void main(String[] args) { // TODO Auto-generated method stub int[] a = { 1, 2, 3, 4, 6, 8, 9, 7, 5, 11 }; System.out.println("原数组遍历: "); for
2016-11-06 20:33:38
182
原创 拷贝函数
public class ArrayCopyFunction { public static void main(String[] args) { // TODO Auto-generated method stub int [] a={1,2,3,4,5,6,7,8}; for(int j:a){ System.out.print(j+" "); } i
2016-11-06 20:32:06
179
原创 简单登录跳转
import java.util.Scanner;public class LoginProgress { public static void main(String[] args) { String str = "lei"; int pass = 123; boolean a = true; int number = 1; boolean b = true
2016-11-01 21:16:54
264
原创 打印九九乘法表
public class jiujiuchengfa { public static void main(String[] args) { // TODO Auto-generated method stub int sum; for(int i=1;i for(int j=1;j sum=i*j; System.out.p
2016-11-01 21:15:59
195
转载 跟着大神好好学习
1.寄存器:最快的存储区, 由编译器根据需求进行分配,我们在程序中无法控制.2. 栈:存放基本类型的变量数据和对象的引用,但对象本身不存放在栈中,而是存放在堆(new 出来的对象)或者常量池中(字符串常量对象存放在常量池中。)3. 堆:存放所有new出来的对象。4. 静态域:存放静态成员(static定义的)5. 常量池:存放字符串常量和基本类型常量(public static f
2016-11-01 21:12:31
156
原创 三个数比较然后按要求输出
//三个数比较之后从小到大进行输出import java.util.Scanner;public class CompareNumber { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); S
2016-10-28 22:26:33
230
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人