1、servlet执行流程
2、springMVC的执行流程
3、给定一个txt文件,如何得到某字符串出现的次数
File file = new File("E://test.txt"); InputStream is = new FileInputStream(file); byte b[] = new byte[1024]; int a = is.read(b); String str[] = new String(b,0,a).split(""); int count = 0; for(int i = 0;i<str.length;i++){ if("a".equals(str[i]))count++; } System.out.println(count);
讯享网
4、Java设计模式思想(单列模式,工厂模式,策略模式,共23种设计模式)
5、冒泡排序、二分查找
a) 冒泡
讯享网 public static void mp(int a[]) { int swap = 0; for (int i = 0; i < a.length; i++) { for (int j = i; j < a.length; j++) { if (a[j] > a[i]) { swap = a[i]; a[i] = a[j]; a[j] = swap; } } } System.out.println(Arrays.toString(a)); }
b)二分查找
public static int ef(int a[], int tag) { int first = 0; int end = a.length; for (int i = 0; i < a.length; i++) { int middle = (first + end) / 2; if (tag == a[middle]) { return middle; } if (tag > a[middle]) { first = middle + 1; } if (tag < a[middle]) { end = middle - 1; } } return 0; }
6-8、对ajax的理解
9、父类与子类之间的调用顺序(打印结果)
10、内部类与外部类的调用
11、多线程
12、AOP与IOC的概念(即spring的核心)
13、hibernate的核心思想
14、Struts1与Struts2的区别
15、最优删除谋字符串的某个字符
16-17、Arraylist与linkedlist的区别
18、数据库优化

19、Tomcat服务器优化(内存,并发连接数,缓存)
20、HTTP协议
21、TCP/UDP协议
22、Java集合类框架的基本接口有哪些
23、类加载的过程
24、对象的创建
25、jvm的优化
26、高并发处理
27、事物的理解
28、Struts工作流程
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/4609.html