08 2018 档案

摘要:接口和抽象类有什么区别 你选择使用接口和抽象类的依据是什么? 总结几句话来说: 1、抽象类和接口都不能直接实例化,如果要实例化,抽象类变量必须指向实现所有抽象方法的子类对象,接口变量必须指向实现所有接口方法的类对象。 2、抽象类要被子类继承,接口要被类实现。 3、接口只能做方法申明,抽象类中可以做方 阅读全文
posted @ 2018-08-27 15:46 DaryllD 阅读(116) 评论(0) 推荐(0)
摘要:1.Mybatis中#{}和${}有什么区别? (1) #{} 和 ${} 在预编译中的处理是不一样的。#{} 在预处理时,会把参数部分用一个占位符 ? 代替,而${}直接已字符串代替 例如: 而 会在预编译中处理成 总结:#{} 的参数替换是发生在 DBMS 中,而 ${} 则发生在动态解析过程中 阅读全文
posted @ 2018-08-27 15:24 DaryllD 阅读(162) 评论(0) 推荐(0)
摘要:/** * 获取字符串中的所有汉字 * * @Title: getChinest * @author zhaozhen * @param str * @return */ public static String getChinest(String str) { String reg = "[^\u 阅读全文
posted @ 2018-08-27 11:10 DaryllD 阅读(351) 评论(0) 推荐(0)
摘要:package com.zbb.test; import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.FileWriter;import java.io.IOException;import java.io. 阅读全文
posted @ 2018-08-27 10:38 DaryllD 阅读(128) 评论(0) 推荐(0)
摘要:Spring中ClassPathXmlApplicationContext类的简单使用 Spring中ClassPathXmlApplicationContext类的简单使用 Spring中ClassPathXmlApplicationContext类的简单使用 Spring中ClassPathXm 阅读全文
posted @ 2018-08-27 10:22 DaryllD 阅读(496) 评论(0) 推荐(0)
摘要:zbb_ioc_aop https://pan.baidu.com/disk/home#/all?vmode=list&path=%2Fcode%2Fspring pom.xml web.xml applicationContext.xml spring-mvc.xml LoggerAspect.j 阅读全文
posted @ 2018-08-24 15:15 DaryllD 阅读(290) 评论(0) 推荐(0)
摘要:tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost]. tomcat运行报错Failed to start component [StandardEngine[Catalina].S 阅读全文
posted @ 2018-08-20 11:15 DaryllD 阅读(4691) 评论(0) 推荐(0)
摘要:https://www.douban.com/note/641996510/ 评分8分的网盘:凌风云搜索:https://www.lingfengyun.com Bdsola: http://www.3134.cc 胖次: http://www.panc.cc 西林街: http://www.xil 阅读全文
posted @ 2018-08-15 16:57 DaryllD 阅读(688) 评论(0) 推荐(0)
摘要:原文地址 https://blog.csdn.net/github_35983163/article/details/52945845 Java字节码指令收集大全 Java字节码指令大全 常量入栈指令 指令码 操作码(助记符) 操作数 描述(栈指操作数栈) 0x01 aconst_null null 阅读全文
posted @ 2018-08-15 09:55 DaryllD 阅读(231) 评论(0) 推荐(0)