会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一根绿毛
博客园
首页
新随笔
联系
订阅
管理
2018年8月11日
Spring包名代码提示
摘要: 首先添加spring约束(原文https://blog.csdn.net/leisure_life/article/details/68483531) 添加了约束,却还没有绑定约束文件,所以没有提示,特别是在没有网络的情况下,从约束中可以看出约束文件的地址在http://www.springfram
阅读全文
posted @ 2018-08-11 10:33 一根绿毛
阅读(168)
评论(0)
推荐(0)
编辑
将博客搬至CSDN
摘要: 将博客搬至CSDN
阅读全文
posted @ 2018-08-11 10:31 一根绿毛
阅读(82)
评论(0)
推荐(0)
编辑
2017年7月3日
验证登录信息是否合法
摘要: 1 package 验证登录信息是否合法; 2 3 import java.util.Scanner; 4 5 public class Login_Message_If_Legal { 6 public static void main(String[] args) { 7 Scanner input=new Scanner(System.in); ...
阅读全文
posted @ 2017-07-03 12:27 一根绿毛
阅读(147)
评论(0)
推荐(0)
编辑
判断某一年是否为闰年
摘要: 1 package 判断某一年是否为闰年; 2 3 import java.util.Scanner; 4 5 public class If_LeapYear { 6 public static void main(String[] args) { 7 System.out.println("请输入年份"); 8 Scanner in...
阅读全文
posted @ 2017-07-03 12:12 一根绿毛
阅读(676)
评论(0)
推荐(0)
编辑
数据库编程-->SqlServer示例
摘要: 准备工作 1:微软官网下载jdbc包。解压得到如下文件: 注:我下的是6.0版本 其中jre8和jre7中包含了sqljdbc42.jar包和sqljdbc41.jar包(会用到) 准备工作 2 :配置端口协议 找到 运行 开始 → 所有程序 → Microsoft SQL Server 2016
阅读全文
posted @ 2017-07-03 11:36 一根绿毛
阅读(1766)
评论(0)
推荐(0)
编辑
2017年6月4日
java-不用辅助变量,两变量直接交换
摘要: 1 import java.util.Scanner; 2 3 public class VariableExchange { 4 public static void main(String[] args) { 5 Scanner input=new Scanner(System.in); 6 System.out.println("ple...
阅读全文
posted @ 2017-06-04 22:49 一根绿毛
阅读(235)
评论(1)
推荐(0)
编辑
2017年6月3日
Java-判断输入数字的奇偶性
摘要: 1 import java.io.InputStream; 2 import java.util.Scanner; 3 4 public class ParityCheck { 5 public static void main(String[] args) { 6 boolean boo=true; 7 while(boo){ 8 ...
阅读全文
posted @ 2017-06-03 18:17 一根绿毛
阅读(4611)
评论(0)
推荐(0)
编辑
Java-简单加密(亦或)
摘要: 1 import java.net.PasswordAuthentication; 2 import java.util.Scanner; 3 4 public class Encryption { 5 public static void main(String[] args) { 6 System.out.println("enter a charact...
阅读全文
posted @ 2017-06-03 17:46 一根绿毛
阅读(293)
评论(0)
推荐(0)
编辑
Java-重定向输出流实现程序日志
摘要: 1 import java.io.FileNotFoundException; 2 import java.io.PrintStream; 3 4 public class RedirectOutputStream { 5 public static void main(String[] args) { 6 PrintStream out=System.ou...
阅读全文
posted @ 2017-06-03 17:28 一根绿毛
阅读(960)
评论(0)
推荐(0)
编辑
Java-控制台接受用户输入数据的方法
摘要: 1 package 控制台接受输入; 2 3 import java.io.BufferedReader; 4 import java.io.IOException; 5 import java.io.InputStream; 6 import java.io.InputStreamReader; 7 import java.nio.Buffer; 8 import j...
阅读全文
posted @ 2017-06-03 15:55 一根绿毛
阅读(6216)
评论(0)
推荐(0)
编辑
下一页
公告