08 2022 档案
摘要:1.整体流程 -》getBean方法 -》构造推断(无参还是有参) -》普通对象 -》依赖注入(@Autowire) -》初始化前(@PostConstruct) -》初始化(是否实现了initializationBean,重写aftePropertySet方法) -》初始化后(AOP) -》代理对
阅读全文
摘要:
代码: 1 import java.util.*; 2 3 public class Main{ 4 public static void main(String[] args){ 5 Scanner scan = new Scanner(System.in); 6 int m = scan.nex
阅读全文

摘要:
题目链接: 重建二叉树_牛客题霸_牛客网 (nowcoder.com) 根据 前序遍历 和 中序遍历重建二叉树,返回根节点 import java.util.*; /** * Definition for binary tree * public class TreeNode { * int val
阅读全文
