201871010133-赵永军《面向对象程序设计(java)》第十周学习总结

项目 内容
这个作业属于哪个课程 https://www.cnblogs.com/nwnu-daizh/
这个作业的要求在哪里  https://www.cnblogs.com/nwnu-daizh/p/11778090.html
作业学习目标

1.掌握java异常处理技术;

2.了解断言的用法;

3.了解日志的用途;

4.掌握程序基础调试技巧。

第一部分:总结第七章理论知识

处理错误。

  错误类型:1)用户输入错误;2)设备错误;3)物理限制;4)代码错误

  1.异常:在程序的执行过程中所发生的异常事件,它中断指令的正常执行。异常对象都是派生于Throwable类的一个实例。

    所有异常类都是由Throwable继承而来,在下一层分解为两个支:Error(致命错误)和Exception(非致命错误)。

    设计java程序时,关注Exception层次结构。Exception层次结构又分解为两个分支:一个分支派生于RuntimeException;另一个分支包含其他异常。RuntimeException为运行时异常类,一般是程序错

    误产生。

    派生于RuntimeException的异常包含下面几种情况:

  1)错误的类型转换

  2)数组访问越界

   3)访问空指针

    Java将派生于Error类或RuntimeException类的所有异常称为未检查异常,编译器允许不对它们做出异常处理。

  2.抛出异常:声明抛出异常在方法声明中用throws子句中来指明。

    1)throws子句可以同时指明多个异常,说明该方法将不对这些异常进行处理,而是声明抛出它们。

    2)一个方法必须声明该方法所有可能抛出的已检查异常,而未检查异常要么不可控制(Error),要么应该避免发生(RuntimeException)。如果方法没有声明所有可能发生的已检查异常,编译器会

      给出一个错误消息。

    3)抛出异常对象通过throw语句来实现。

  3.创建异常类。

    自定义异常类:定义一个派生于Exception的直接或间接子类。如一个派生于IOException的类。

  4.捕获异常:

    1)捕获异常的第一步是用try{}子句选定捕获异常的代码范围,由try所限定的代码块中的语句在执行过程中可能会自动生成异常对象并抛出。

    2)catch子句:catch块是对异常对象进行处理的代码;

      a.每个try代码块可以伴随一个或多个catch语句,用于处理try代码块中所生成的各类异常事件;

      b.catch语句只需要一个形式参数指明它所能捕获的异常类对象,这个异常类必须是Throwable的子类,运行时系统通过参数值把被抛出的异常对象传递给catch块;

      c.catch块可以通过异常对象调用类Throwa。

      getMessage:用来得到有关异常事件的信息;

      printStackTrace:用来跟踪异常事件发生时执行堆栈的内容。

  5.堆栈跟踪:程序执行中一个方法调用过程的列表,它包含了程序执行过程中方法调用的特定位置。

  6.程序编码时异常处理的两种方式:

    1)积极处理方式:确切知道如何处理的异常应该捕获;

    2)消极处理方式:不知道如何去处理的异常声明抛出。

第二部分:实验部分

1、实验目的与要求

  (1) 掌握java异常处理技术;

  (2) 了解断言的用法;

  (3) 了解日志的用途;

  (4) 掌握程序基础调试技巧;

2、实验内容和步骤

实验1:用命令行与IDE两种环境下编辑调试运行源程序ExceptionDemo1、ExceptionDemo2,结合程序运行结果理解程序,掌握未检查异常和已检查异常的区别。

//异常示例1

public class ExceptionDemo1 {

public static void main(String args[]) {

int a = 0;

System.out.println(5 / a);

}

}

//异常示例2

import java.io.*;

public class ExceptionDemo2 {

public static void main(String args[])

{

FileInputStream fis=new FileInputStream("text.txt");//JVM自动生成异常对象

int b;

while((b=fis.read())!=-1)

{

System.out.print(b);

}

fis.close();

}

}

异常示例1:

实验程序如下:

 package testing;
public class ExceptionDemo1 {
public static void main(String args[]) {
int a = 0;
System.out.println(5 / a);
}
}

实验运行结果如下:

因分母为零,程序在运行过程中出现异常。修改后程序如下:

 package testing;
public class ExceptionDemo1 {
public static void main(String args[]) {
int a = 0;
if(a==0){
System.out.println("程序异常!");
}
else{
System.out.println(5 / a);
}
}
}

程序运行结果如下所示:

异常示例2

实验程序如下:

 import java.io.*;

 public class ExceptionDemo2 {
public static void main(String args[])
{
FileInputStream fis=new FileInputStream("text.txt");//JVM自动生成异常对象
int b;
while((b=fis.read())!=-1)
{
System.out.print(b);
}
fis.close();
}
}

程序中存在文件不能找到的错误。修改方法有两种。

1.用抛出异常方法修改后程序如下:

 import java.io.*;

 public class ExceptionDemo2 {
public static void main(String args[]) throws IOException
{
FileInputStream fis=new FileInputStream("text.txt");//JVM自动生成异常对象
int b;
while((b=fis.read())!=-1)
{
System.out.print(b);
}
fis.close();
}
}

2.将可能出错代码放入try子句中程序修改后如下:

 import java.io.*;

 public class ExceptionDemo2 {
public static void main(String args[]) {
FileInputStream fis;
try {
fis = new FileInputStream("text.txt");
// JVM自动生成异常对象
int b;
while ((b = fis.read()) != -1) {
System.out.print(b);
}
fis.close();
} catch (Exception e) {
// TODO 自动生成的 catch 块
e.printStackTrace();
}
}
}

text文档中存放如下内容:

程序中以字节流输出,程序运行结果如下:

实验2 导入以下示例程序,测试程序并进行代码注释。

测试程序1:

※在elipse IDE中编辑、编译、调试运行教材281页7-1,结合程序运行结果理解程序;

※在程序中相关代码处添加新知识的注释;

※掌握Throwable类的堆栈跟踪方法;

实验程序如下:

 import java.util.*;

 /**
* A program that displays a trace feature of a recursive method call.
* @version 1.01 2004-05-10
* @author Cay Horstmann
*/
public class StackTraceTest
{
/**
* Computes the factorial of a number
* @param n a non-negative integer
* @return n! = 1 * 2 * . . . * n
*/
public static int factorial(int n)//求阶乘
{
System.out.println("factorial(" + n + "):");
Throwable t = new Throwable();
StackTraceElement[] frames = t.getStackTrace();//创建一个表示指定执行点的堆栈跟踪元素,t存放方法调用栈的信息
for (StackTraceElement f : frames)
System.out.println(f);
int r;
if (n <= 1) r = 1;
else r = n * factorial(n - 1);//计算n个数的阶乘需要调用之前n-1个数的阶乘
System.out.println("return " + r);
return r;
} public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
System.out.print("Enter n: ");
int n = in.nextInt();
factorial(n);
}
}

测试程序2:

※Java语言的异常处理有积极处理方法和消极处理两种方式;

※下列两个简单程序范例给出了两种异常处理的代码格式。在elipse IDE中编辑、调试运行源程序ExceptionTest.java,将程序中的text文件更换为身份证号.txt,要求将文件内容读入内容,并在控制台显示;

  掌握两种异常处理技术的特点。

l 掌握两种异常处理技术的特点。

//积极处理方式  

import java.io.*;

class ExceptionTest {

public static void main (string args[])

{

try{

FileInputStream fis=new FileInputStream("text.txt");

}

catch(FileNotFoundExcption e)

{   ……  }

……

}

}

//消极处理方式

import java.io.*;

class ExceptionTest {

public static void main (string args[]) throws  FileNotFoundExcption

{

FileInputStream fis=new FileInputStream("text.txt");

}

}

程序如下:

1.积极处理方式:

 import java.io.*;

 class ExceptionTest {
public static void main (string args[])
{
try{
FileInputStream fis=new FileInputStream("text.txt");
}
catch(FileNotFoundExcption e)
{ …… }
……
}
}

读入内容后程序如下:

 import java.io.*;

 public class desd {
public static void main(String args[]) {
FileInputStream fis;
try {
fis = new FileInputStream("text.txt");
int b;
while ((b = fis.read()) != -1) {
System.out.print(b);
}
fis.close();
} catch (Exception e) {
e.printStackTrace();
}
}
}

2.消极处理方式:

 import java.io.*;
class ExceptionTest {
public static void main (string args[]) throws FileNotFoundExcption
{
FileInputStream fis=new FileInputStream("text.txt");
}
}

读入内容后程序如下:

 import java.io.*;

 public class desd {
public static void main(String args[]) throws IOException
{
FileInputStream fis=new FileInputStream("text.txt");
int b;
while((b=fis.read())!=-1)
{
System.out.print(b);
}
fis.close();
}
}

text文件如图:

程序运行结果如下:

实验3: 编程练习

※编写一个计算器类,可以完成加、减、乘、除的操作;

※利用计算机类,设计一个小学生100以内数的四则运算练习程序,由计算机随机产生10道加减乘除练习题,学生输入答案,由程序检查答案是否正确,每道题正确计10分,错误不计分,10道题测试结束后给出测试总分;

※将程序中测试练习题及学生答题结果输出到文件,文件名为test.txt;

※在以上程序适当位置加入异常捕获代码。

思维导图如下:

实验代码如下:

 import java.util.Scanner;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Random; public class Demo {
public static void main(String[] args) { Scanner in = new Scanner(System.in);
Number counter = new Number();
PrintWriter out = null;
try {
out = new PrintWriter("text.txt");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
int sum = 0; for (int i = 1; i <= 10; i++) { int a = (int) Math.round(Math.random() * 100);
int b = (int) Math.round(Math.random() * 100);
int m = (int) Math.round(Math.random() * 3);
Random n = new Random(); switch (m) {
case 0:
System.out.println(i + ": " + a + "/" + b + "="); while (b == 0) {
b = (int) Math.round(Math.random() * 100);
} int c = in.nextInt();
out.println(a + "/" + b + "=" + c);
if (c == counter.division(a, b)) {
sum += 10;
System.out.println("恭喜答案正确");
} else {
System.out.println("抱歉,答案错误");
} break; case 1:
System.out.println(i + ": " + a + "*" + b + "=");
int c1 = in.nextInt();
out.println(a + "*" + b + "=" + c1);
if (c1 == counter.multiplication(a, b)) {
sum += 10;
System.out.println("恭喜答案正确");
} else {
System.out.println("抱歉,答案错误");
}
break;
case 2:
System.out.println(i + ": " + a + "+" + b + "=");
int c2 = in.nextInt();
out.println(a + "+" + b + "=" + c2);
if (c2 == counter.add(a, b)) {
sum += 10;
System.out.println("恭喜答案正确");
} else {
System.out.println("抱歉,答案错误");
} break;
case 3:
System.out.println(i + ": " + a + "-" + b + "=");
int c3 = in.nextInt();
out.println(a + "-" + b + "=" + c3);
if (c3 == counter.reduce(a, b)) {
sum += 10;
System.out.println("恭喜答案正确");
} else {
System.out.println("抱歉,答案错误");
}
break; } }
System.out.println("成绩" + sum);
out.println("成绩:" + sum);
out.close(); }
}
 public class Number {
private int a;
private int b; public int add(int a, int b) {
return a + b;
} public int reduce(int a, int b) {
return a - b;
} public int multiplication(int a, int b) {
return a * b;
} public int division(int a, int b) {
if (b != 0)
return a / b;
else
return 0;
} }

程序运行结果如下:

实验4:断言、日志、程序调试技巧验证实验。

实验程序1:

//断言程序示例

public class AssertDemo {

    public static void main(String[] args) {        

        test1(-5);

        test2(-3);

    }

    

    private static void test1(int a){

        assert a > 0;

        System.out.println(a);

    }

    private static void test2(int a){

       assert a > 0 : "something goes wrong here, a cannot be less than 0";

        System.out.println(a);

    }

}

※在elipse下调试程序AssertDemo,结合程序运行结果理解程序;

※注释语句test1(-5);后重新运行程序,结合程序运行结果理解程序;

※掌握断言的使用特点及用法。

实验程序如下:

 public class AssertDemo {
public static void main(String[] args) {
test1(-5);
test2(-3);
} private static void test1(int a){
assert a > 0;//assert宏的原型定义在<assert.h>中,作用是如果它的条件返回错误,则终止程序执行
System.out.println(a);
}
private static void test2(int a){
assert a > 0 : "这里出错了,a不能小于0";
System.out.println(a);
}
}

程序运行结果如下:

注释后程序如下:

 public class AssertDemo {
public static void main(String[] args) {
// test1(-5);
test2(-3);
} private static void test1(int a){
assert a > 0;//assert宏的原型定义在<assert.h>中,作用是如果它的条件返回错误,则终止程序执行
System.out.println(a);
}
private static void test2(int a){
assert a > 0 : "这里出错了,a不能小于0";
System.out.println(a);
}
}

实验运行结果如下:

实验程序2:

※用JDK命令调试运行教材298页-300页程序7-2,结合程序运行结果理解程序;

※并掌握Java日志系统的用途及用法。

实验程序如下:

 import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.logging.*;
import javax.swing.*; /**
* A modification of the image viewer program that logs various events.
* @version 1.03 2015-08-20
* @author Cay Horstmann
*/
public class LoggingImageViewer
{
public static void main(String[] args)
{
//将所有消息记录到应用程序特定的文件中
if (System.getProperty("java.util.logging.config.class") == null
&& System.getProperty("java.util.logging.config.file") == null)
{
try//放入可能出错的语句
{
Logger.getLogger("com.horstmann.corejava").setLevel(Level.ALL);//得到日志记录器
final int LOG_ROTATION_COUNT = 10;
Handler handler = new FileHandler("%h/LoggingImageViewer.log", 0, LOG_ROTATION_COUNT);
Logger.getLogger("com.horstmann.corejava").addHandler(handler);
}
catch (IOException e)
{
Logger.getLogger("com.horstmann.corejava").log(Level.SEVERE,
"Can't create log file handler", e);
}
} EventQueue.invokeLater(() ->//使事件派发线程上的可运行对象排队
{
Handler windowHandler = new WindowHandler();
windowHandler.setLevel(Level.ALL);
Logger.getLogger("com.horstmann.corejava").addHandler(windowHandler); JFrame frame = new ImageViewerFrame();
frame.setTitle("LoggingImageViewer");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Logger.getLogger("com.horstmann.corejava").fine("Showing frame");
frame.setVisible(true);
});
}
} /**
* 显示图像的帧。
*/
class ImageViewerFrame extends JFrame
{
private static final int DEFAULT_WIDTH = 300;
private static final int DEFAULT_HEIGHT = 400; private JLabel label;
private static Logger logger = Logger.getLogger("com.horstmann.corejava"); public ImageViewerFrame()
{
logger.entering("ImageViewerFrame", "<init>");
setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT); //设置菜单栏
JMenuBar menuBar = new JMenuBar();
setJMenuBar(menuBar); JMenu menu = new JMenu("File");
menuBar.add(menu); JMenuItem openItem = new JMenuItem("Open");
menu.add(openItem);
openItem.addActionListener(new FileOpenListener()); JMenuItem exitItem = new JMenuItem("Exit");
menu.add(exitItem);
exitItem.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent event)
{
logger.fine("Exiting.");
System.exit(0);
}
}); //使用标签显示图像
label = new JLabel();
add(label);
logger.exiting("ImageViewerFrame", "<init>");
} private class FileOpenListener implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
logger.entering("ImageViewerFrame.FileOpenListener", "actionPerformed", event); //设置文件选择器
JFileChooser chooser = new JFileChooser();
chooser.setCurrentDirectory(new File(".")); //接受以.gif结尾的所有文件
chooser.setFileFilter(new javax.swing.filechooser.FileFilter()
{
public boolean accept(File f)
{
return f.getName().toLowerCase().endsWith(".gif") || f.isDirectory();
} public String getDescription()
{
return "GIF Images";
}
}); //显示文件选择器对话框
int r = chooser.showOpenDialog(ImageViewerFrame.this); // 如果图像文件被接受,将其设置为标签的图标
if (r == JFileChooser.APPROVE_OPTION)
{
String name = chooser.getSelectedFile().getPath();
logger.log(Level.FINE, "Reading file {0}", name);
label.setIcon(new ImageIcon(name));
}
else logger.fine("File open dialog canceled.");
logger.exiting("ImageViewerFrame.FileOpenListener", "actionPerformed");
}
}
} /**
* 用于在窗口中显示日志记录的处理程序。
*/
class WindowHandler extends StreamHandler//继承
{
private JFrame frame; public WindowHandler()
{
frame = new JFrame();
final JTextArea output = new JTextArea();
output.setEditable(false);
frame.setSize(200, 200);
frame.add(new JScrollPane(output));
frame.setFocusableWindowState(false);
frame.setVisible(true);
setOutputStream(new OutputStream()
{
public void write(int b)
{
} // not called public void write(byte[] b, int off, int len)
{
output.append(new String(b, off, len));
}
});
} public void publish(LogRecord record)
{
if (!frame.isVisible()) return;
super.publish(record);
flush();
}
}

实验运行结果如下:

实验程序3:

※用JDK命令调试运行教材298页-300页程序7-2,结合程序运行结果理解程序;

※按课件66-77内容练习并掌握Elipse的常用调试技术。

实验程序如下:

 import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.logging.*;
import javax.swing.*; /**
* A modification of the image viewer program that logs various events.
* @version 1.03 2015-08-20
* @author Cay Horstmann
*/
public class LoggingImageViewer
{
public static void main(String[] args)
{
//将所有消息记录到应用程序特定的文件中
if (System.getProperty("java.util.logging.config.class") == null
&& System.getProperty("java.util.logging.config.file") == null)
{
try//放入可能出错的语句
{
Logger.getLogger("com.horstmann.corejava").setLevel(Level.ALL);//得到日志记录器
final int LOG_ROTATION_COUNT = 10;
Handler handler = new FileHandler("%h/LoggingImageViewer.log", 0, LOG_ROTATION_COUNT);
Logger.getLogger("com.horstmann.corejava").addHandler(handler);
}
catch (IOException e)
{
Logger.getLogger("com.horstmann.corejava").log(Level.SEVERE,
"Can't create log file handler", e);
}
} EventQueue.invokeLater(() ->//使事件派发线程上的可运行对象排队
{
Handler windowHandler = new WindowHandler();
windowHandler.setLevel(Level.ALL);
Logger.getLogger("com.horstmann.corejava").addHandler(windowHandler); JFrame frame = new ImageViewerFrame();
frame.setTitle("LoggingImageViewer");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Logger.getLogger("com.horstmann.corejava").fine("Showing frame");
frame.setVisible(true);
});
}
} /**
* 显示图像的帧。
*/
class ImageViewerFrame extends JFrame
{
private static final int DEFAULT_WIDTH = 300;
private static final int DEFAULT_HEIGHT = 400; private JLabel label;
private static Logger logger = Logger.getLogger("com.horstmann.corejava"); public ImageViewerFrame()
{
logger.entering("ImageViewerFrame", "<init>");
setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT); //设置菜单栏
JMenuBar menuBar = new JMenuBar();
setJMenuBar(menuBar); JMenu menu = new JMenu("File");
menuBar.add(menu); JMenuItem openItem = new JMenuItem("Open");
menu.add(openItem);
openItem.addActionListener(new FileOpenListener()); JMenuItem exitItem = new JMenuItem("Exit");
menu.add(exitItem);
exitItem.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent event)
{
logger.fine("Exiting.");
System.exit(0);
}
}); //使用标签显示图像
label = new JLabel();
add(label);
logger.exiting("ImageViewerFrame", "<init>");
} private class FileOpenListener implements ActionListener
{
public void actionPerformed(ActionEvent event)
{
logger.entering("ImageViewerFrame.FileOpenListener", "actionPerformed", event); //设置文件选择器
JFileChooser chooser = new JFileChooser();
chooser.setCurrentDirectory(new File(".")); //接受以.gif结尾的所有文件
chooser.setFileFilter(new javax.swing.filechooser.FileFilter()
{
public boolean accept(File f)
{
return f.getName().toLowerCase().endsWith(".gif") || f.isDirectory();
} public String getDescription()
{
return "GIF Images";
}
}); //显示文件选择器对话框
int r = chooser.showOpenDialog(ImageViewerFrame.this); // 如果图像文件被接受,将其设置为标签的图标
if (r == JFileChooser.APPROVE_OPTION)
{
String name = chooser.getSelectedFile().getPath();
logger.log(Level.FINE, "Reading file {0}", name);
label.setIcon(new ImageIcon(name));
}
else logger.fine("File open dialog canceled.");
logger.exiting("ImageViewerFrame.FileOpenListener", "actionPerformed");
}
}
} /**
* 用于在窗口中显示日志记录的处理程序。
*/
class WindowHandler extends StreamHandler//继承
{
private JFrame frame; public WindowHandler()
{
frame = new JFrame();
final JTextArea output = new JTextArea();
output.setEditable(false);
frame.setSize(200, 200);
frame.add(new JScrollPane(output));
frame.setFocusableWindowState(false);
frame.setVisible(true);
setOutputStream(new OutputStream()
{
public void write(int b)
{
} // not called public void write(byte[] b, int off, int len)
{
output.append(new String(b, off, len));
}
});
} public void publish(LogRecord record)
{
if (!frame.isVisible()) return;
super.publish(record);
flush();
}
}

1)条件断点(有一定条件的断点):在Eclipse Java 编辑区的行头双击就会得到一个断点,代码会运行到此处时停止。

在断点处点击鼠标右键,选择最后一个“Breakpoint Properties”。

2)变量断点:在变量的值初始化,或是变量值改变时可以停止。

3)方法断点:方法断点就是将断点打在方法的入口处。

4)异常断点:当异常发生时,代码会停在异常发生处。

5)重新调试:回退时,请在需要回退的线程方法上点右键,选择“Drop to Frame”。

6)单步执行程序

7)检查变量

8)改变变量值

三:实验总结。

这周主要学习了程序产生的异常以及如何解决程序中产生的异常。异常时在程序的执行过程中所发生的非正常事件,它中断指令的正常执行。因此在编写代码时需要及时处理这些错误。对于异常处理,在理论课上听的不是很明白,但在实验课上通过学长演示程序,用抛出异常和将可能出错的语句放入try子句中两种方法,基本理解了异常的产生的原因和解决方法。但对于断言以及日志等内容,还是不明白,自己在课后看了课本内容,但也还是不太理解。因此在运行后面几个相关程序时,对程序不是很理解。希望在之后的课堂上,老师能再讲解一下,自己也会多练习程序去了解这些知识。

最新文章

  1. 4.3 多线程进阶篇&lt;中&gt;(GCD)
  2. Mysql5.0没有nvarchar,national
  3. php生成随机字符串
  4. Sqli-LABS通关笔录-18-审计SQL注入2-HTTP头注入
  5. python 与数据结构
  6. 【ASP.NET 进阶】定时执行任务
  7. NF3 里面的z cull reverse reload
  8. 引用类型传递 ListView展示数据
  9. javascript-02
  10. WebService cxf 接口中获得拦截器参数
  11. 纯JS写最简单的图片轮播
  12. ORACLE not available
  13. JavaScript 快速入门
  14. Kayleigh O&#39;Connor - I Won&#39;t Be There
  15. 使用 jstack 查询线程死锁错误日志 定位问题
  16. oracle数据库中如何去除空格
  17. StringBuilder的实现与技巧ZZ
  18. python已写内容中可能的报错及解决办法
  19. Python安装scrapy提示 error: Microsoft Visual C++ 14.0 is required. Get it with &quot;Microsoft Visual C++
  20. Jquery学习笔记(2)--五角星评分

热门文章

  1. LeetCode 268. Missing Number缺失数字 (C++/Java)
  2. 2019 SDN阅读作业(2)
  3. C实现string字符串
  4. SDOI2019退役记
  5. guava(三)字符串处理 Joiner Splitter CharMatcher
  6. 探索 ASP.Net Core 3.0系列三:ASP.Net Core 3.0中的Service provider validation
  7. oracle导入Excel表文本数据
  8. .NET Core 多框架支持(net45+netstandard20)实践中遇到的一些问题总结
  9. Spring源码系列 — 容器Extend Point(一)
  10. LocalDB 从2017更换到2014后一直显示连接不正确解决方案