摘要:
Spring MVC 1.结构最清晰的MVC Model2实现 2.Controller 3.ModelAndView 1.HTTP请求 SpringMVC核心是前端控制器DispatcherServlet 在web.xml <servlet-name>-servlet.xml配置 2.Handle 阅读全文
posted @ 2017-08-04 15:32
Interface代码
阅读(138)
评论(0)
推荐(0)
摘要:
package cn.bdqn.test; public class FatherClass { // 外部类 private static int age = 5; private int num = 5000; class Son { // 成员内部类 int age = 50; private 阅读全文
posted @ 2017-08-04 15:30
Interface代码
阅读(100)
评论(0)
推荐(0)
摘要:
package cn.bdqn.inner; public class ThreadTest { public static void main(String[] args) { // 匿名内部类 Thread thread = new Thread(new Runnable() { @Overri 阅读全文
posted @ 2017-08-04 15:30
Interface代码
阅读(68)
评论(0)
推荐(0)
摘要:
内部类: 将一个类写在了另一类或者方法中! 内部类的分类01.成员内部类 可以访问我们外部类的所有属性和方法! 如果我们想访问内部类!必须要有外部类! 只能通过外部类来访问内部类! 001.创建外部类对象 FatherClass father=new FatherClass(); 002.通过外部类 阅读全文
posted @ 2017-08-04 15:28
Interface代码
阅读(122)
评论(0)
推荐(0)
浙公网安备 33010602011771号