阿里巴巴校园招聘面试试题合集总结_第1页
阿里巴巴校园招聘面试试题合集总结_第2页
阿里巴巴校园招聘面试试题合集总结_第3页
阿里巴巴校园招聘面试试题合集总结_第4页
阿里巴巴校园招聘面试试题合集总结_第5页
已阅读5页,还剩30页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、1.forwardredirect目标地址的URL,把那个URLredirect是服务端根据逻辑,发送一个状态码,告诉浏览器重新去请求那个地址.1.forwardredirect目标地址的URL,把那个URLredirect是服务端根据逻辑,发送一个状态码,告诉浏览器重新去请求那个地址.URL. 等servletdogett做的都是web项目,在那个框架中,servlet由前两个问题牵引出web.xml文件配置中都有哪些属性,以及他的作用spring 了解吗 3,所知道的MVC( 9,Struts 用的什么版本。10,3,所知道的MVC( 9,Struts 用的什么版本。10,Struts2用

2、过吗?和 画出STRUTSjsp的流程图, web.xml文件配置中都有哪些属性,以及他的作用spring 了解吗 Strutsibatis Hibernate servlet spring 的两个主要特性(AOP S J2EE的要求,TOMCAT J2EEHibernate 伸的一些SqlUML伸的一些SqlUMLOracle中的分页Sqljava的多态。java 设计模式。struts,springjavaspring mvc4567JavaHashtableHashMapArrayList的特点JavaHashtableHashMapArrayList的特点容器是如何扩充的Propert

3、iesStruts2方式可以动态的创建对象?(CGLIB,揪心中,结果他没问Struts2ActionSpringStruts2请说一下,你觉得你最熟悉的技术特点? (我提到了并发编程请说一下线程池的中断策略(4TomcatJavaServletStruts2请说一下,你觉得你最熟悉的技术特点? (我提到了并发编程请说一下线程池的中断策略(4TomcatJavaServlet?(我提到了推线程安全下,StringBufferStringBuilder代码数组容量的? (Tomcat?(我提到观察者模式Java(我说我不太清楚 他说没关系 - -并未深究?疑问吗? (-本意是指培训,但是话没说清

4、楚”,囧了Java(我说我不太清楚 他说没关系 - -并未深究?疑问吗? (-本意是指培训,但是话没说清楚”,囧了PS,你对Java的集合框架了解吗? 能否说说常用的类Java说说HashtableHashMap说说HashtableHashMap的区别(源代码1.Hashtablesynchronized2.HashMapAbstractMap,HashtableDictionaryMapMapkeyhashHashtablekeyhashJava=0 sh 2.HashMapAbstractMap,HashtableDictionaryMapMapkeyhashHashtablekeyha

5、shJava=0 sh Java=null) 0 sh Java=Java=4.为 16*0.75 , Hashtable 为 Javass=new Javass4.为 16*0.75 , Hashtable 为 Javass=new Javass=new Javapublic new *Java)(initialCapacity 4new *Java)(initialCapacity 4平时除了ArrayListLinkedListListArrayListLinkedListList2ArrayListLinkedListObjectJavaprivate transient= Entry

6、(null, Entry previous;/next, Javaprivate transient= Entry(null, Entry previous;/next, JavaEntry previous;/next, =形式不同。 ArrayListAbstractList,LinkedListAbstractSequentialList.List接列表(Java1.3.Java4. 6. ArrayListArrayListJava=形式不同。 ArrayListAbstractList,LinkedListAbstractSequentialList.List接列表(Java1.3.

7、Java4. 6. ArrayListArrayListJava=newCapacity (newCapacity =Java=/这里扩充的大小为原大小的大概 =newCapacity (newCapacity =Java=/这里扩充的大小为原大小的大概 =PropertiesPropertiesHashtable,Javapublic synchronized void load(InputStream inStream) IOException / 将输入流转换成 load0(new void load0(LineReader lr) char convtBuf = new char /

8、一行一行处理(limit c = keyLen load0(new void load0(LineReader lr) char convtBuf = new char / 一行一行处理(limit c = keyLen = hasSep precedingBackslash = / 下面用 2while (keyLen limit) c= need check if (c = = | c = !precedingBackslash) valueStart = keyLen + hasSep = if (c = | c = t | !precedingBackslash) valueStart

9、 = keyLen + hasSep = if (c = | c = t | !precedingBackslash) = + = precedingBackslash precedingBackslash while (valueStart limit) c = if (c & c != t c != (!hasSep & (c = | c = hasSep = else String key = loadConvert(lr.lineBuf, 0, keyLen, String value = loadConvert(lr.lineBuf, valueStart, - String key

10、 = loadConvert(lr.lineBuf, 0, keyLen, String value = loadConvert(lr.lineBuf, valueStart, - valueStart, / 存put(key, Javapublic synchronized void IOException / 将输入流转换成 load0(new private void load0(LineReader lr) throws IOException char convtBuf = new char / 一行一行处理(limit = c = keyLen = hasSep preceding

11、Backslash = / 下面用 2(keyLen char / 一行一行处理(limit = c = keyLen = hasSep precedingBackslash = / 下面用 2(keyLen limit) c= need check if (c = = | c = & !precedingBackslash) valueStart = keyLen hasSep = else if (c = | = t | c = & !precedingBackslash) valueStart = keyLen + if (c = ) precedingBackslash = else

12、precedingBackslash = (valueStart limit) c = if (c = ) precedingBackslash = else precedingBackslash = (valueStart class LineReader LineReader(InputStream this.inStream inByteBuf = - valueStart, / 存入Javastyle=FONT-WEIGHT: normalclass LineReader LineReader(InputStream this.inStream inByteBuf = reader)

13、this.reader = inCharBuf = new lineBuf = new inLimit = inOff = InputStream Reader *throws throws IOException = c= skipWhiteSpace = true;/ 空白mentLine = false;/ 注释isNewLine = appendedLineBeginInputStream Reader *throws throws IOException = c= skipWhiteSpace = true;/ 空白mentLine = false;/ 注释isNewLine = a

14、ppendedLineBegin false;/ 加 precedingBackslash false;/ 反斜杠skipLF (true) if = inLimit) inLimit = (inStream = null) ? :inOff = if (inLimit 0) if = 0 return -return (inStream !=:inOff = if (inLimit 0) if = 0 return -return (inStream != null) c=(char) (0 xff & else c=skipLF = if (c = n) (skipWhiteSpace)

15、if (c = | c t | if (!appendedLineBegin c)skipWhiteSpace = (skipWhiteSpace) if (c = | c t | if (!appendedLineBegin c)skipWhiteSpace = appendedLineBegin = (isNewLine) = if (c # | c = mentLine = (c != n & c != r) / lineBuflen+ = (len = lineBuf.length) newLength lineBuf.length * if (newLength 0) =char b

16、uf = new System.arraycopy(lineBuf, 0, (len = lineBuf.length) newLength lineBuf.length * if (newLength 0) =char buf = new System.arraycopy(lineBuf, 0, buf, lineBuf = (c = ) = else = else reached EOL 文件结束(mentLine | = 0) mentLine = isNewLine = skipWhiteSpace = len = (inOff = inLimit) inLimit = (inStre

17、am = null) ? : inOff = if (inOff = inLimit) inLimit = (inStream = null) ? : inOff = if (inLimit class LineReader LineReader(InputStream this.inStream inByteBuf = reader) this.reader Javastyle=FONT-WEIGHT: normalclass LineReader LineReader(InputStream this.inStream inByteBuf = reader) this.reader = i

18、nCharBuf = new lineBuf = new inLimit = inOff = InputStream Reader *throws throws IOException = c= skipWhiteSpace = true;/ 空白mentLine = false;/ 注释isNewLine = appendedLineBegin false;/ 加 precedingBackslash *throws throws IOException = c= skipWhiteSpace = true;/ 空白mentLine = false;/ 注释isNewLine = appendedLineBegin false;/ 加 precedingBackslash false;/ 反斜杠skipLF (true) if = inLimit) inLimit = (inStream = null) ? : inOff = if (inLimit = inLimit) inLimit = (inStream = ? : inOff = if (inLimit = 0) return (precedingBackslash) len -= skipWhiteSpace =inOff = if (inLimit = 0) retur

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论