Record an interview with a company

Yesterday I went to a company to interview for a Java development position. This article is mainly to make a record and summary of the interview.

 

...Please see the original text, the original address is at the bottom of the article

 

1. Three characteristics of object-oriented

Answer: encapsulation, inheritance, polymorphism.

2. XML parsing

...Please see the original text, the original address is at the bottom of the article

 

 

3. Reflection

...Please see the original text, the original address is at the bottom of the article

7, Hibernate's first-level cache, second-level cache

8. Can the key of ConcurrentHashMap be null?

9. Thread naming of the thread pool

...Please see the original text, the original address is at the bottom of the article

10. MySQL installed on Linux can only be accessed locally, but other machines cannot access it

...Please see the original text, the original address is at the bottom of the article

11. The number of core threads in the thread pool (core) and the maximum number of threads (max)

...Please see the original text, the original address is at the bottom of the article

12. Thread pool capture exception

13. Mapper of Mybatis

refer to:

...Please see the original text, the original address is at the bottom of the article

14. Jsp and servlet, 9 built-in objects of jsp

 

Nine built-in objects of JSP:

Built-in object name type
request HttpServletRequest
response HttpServletResponse
config ServletConfig
application ServletContext
session HttpSession
exception Throwable
page Object(this)
out JspWriter
pageContext PageContext

Four domain objects of JSP:

object domain
ServletContext context field
HttpServletRequet request field
HttpSession session field
PageContext page field

15. File upload, socket, stream

refer to:

 

16、Netty

refer to:

Netty - Introduction to Basic Use

17. Collection

答:List、Set、Map

Lists are ordered and can have repeating elements

Set is unordered and does not allow duplicate elements

Map is a key-value pair

18, IO Wa NIO

refer to:

Java NIO series of tutorials

19. Write at the end

Finally, I found that the interviewer also made some mistakes... Please see the original text, the original address is at the bottom of the article


Write it here first, and update it later if there is anything to add.

This article is permanently updated at the address: https://github.com/nnngu/LearningNotes/blob/master/_posts/2018-03-30-%E6%9F%90%E5%85%AC%E5%8F%B8(%E7 %AE%80%E7%A7%B0SMKJ)%E9%9D%A2%E8%AF%95%E8%AE%B0%E5%BD%95.md

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326095354&siteId=291194637