Today we will share with you the process of writing and interviewing for the Guangzhou South China Information technology company.
Procedure: 1. HR interview 2. Written test 3. Technical interview
The arrival of the two o'clock in the afternoon, the door from the front desk to receive an application form, fill out after you bring your resume to the 4 floor to start HR interview. HR is a very nice and beautiful big sister, the interview process is very simple, to introduce the company and understand the basic situation of the main, probably asked for about 20 minutes later, she took the written questions for me to do. 30 minutes later, the technical director came to the interview. Technical director People are also very good, smiling, not nervous at all, probably also about 20 minutes of interview. After the interview, you can go back. According to the cloth, this is a general internship, but the formal staff treatment is still good company. Share the written and interview content below.
The written exam has a basic knowledge of Java fundamentals and Java frameworks. 25-choice and 1-word programming questions. The following content is all about the little memory (incomplete), only as a learning discussion.
1. The test is the difference between x + + and ++x.
2. Give the following code:
1 classSuperclass {2 PublicA Geta () {3 return NewA ();4 }5 }6 7 classsubclass{8 PublicB Geta () {9 return NewB ();Ten } One}
A. Error in compiling 8th line B. Error on line 9th C. If a inherits B then compiles successfully D. If b inherits A, the compilation succeeds
PS: The test is the Java covariance problem
What are some of the hidden objects in 3.jsp that can access the parameters entered by the browser?
A.param B.requestscope C.sessionscope D.applicationscope
4. Select an XML document with the correct specification. (gave 3 to let you choose the right one)
Note: The root tag can only have one; attributes are double-quoted; start end tag to correspond to <abc></abc> or use an end tag such as <abc/>
5. Are the following two compilations incorrect?
a.string #name = "123"; B.int $age = 11; C.double _height=123.5;d.double-temp=37.5;
Answer: Select a and D
Idea: Java variable naming rules:
1, start with the letter _ $.
2, followed by the letter _ $ and the number.
3. Case-sensitive
4, as far as possible hump-type, each word best capital letter.
6. For data tables
Country Staff
ID NAME CITIES ID LASTNAME
1 Alice American 1 JONES
2 Bob Japan 2 CURRY
3 Candy French
4. Dogie Chinese
5. Eggy Canada
How many records does the EXECUTE statement "SELECT * from Staff,country" return? e.10
Ideas:
The subject of the test is the multi-table connection knowledge.
1. Inner connection (equivalent connection, non-equivalent connection)
2. Outer connection (left connection, right connection, full connection)
3. Cross-connect (also called Cartesian product)
The subject belongs to a cross join, which equals "select * from the staff crosses JOIN country".
7. For Preparestatement, which of the following methods does not get resultset?
A.excute () b.excutequery () c.excuteupdate ()
A class that launches the spring framework from a Web container in 8.Spring?
A.contextloaderlistener b.servletloaderlistener c.contextloaderservlet d.actionservlet
What is the difference between 9.HQL and SQL? (The fundamental difference is that HQL is object-oriented)
10. Understanding of UML Structure diagrams (component diagrams, class diagrams, Object graphs, state diagrams, deployment diagrams, etc.)
UML provides 4 structure diagrams for visualizing, detailing, structuring, and documenting the static aspects of a system. Among them (1) is the most common graph of object-oriented system scale, which is used to illustrate the static Design view of the system, and when it is necessary to describe the static implementation view of the system, choose (2); When you need to describe the static implementation view of the architecture, you should choose (3): (1 ) A. Component Diagram B. Class Diagram C. Object Graph D. Deployment Diagram (2) A. Component Diagram B. Collaboration diagram C. State diagram D. Deployment Diagram (3) A. Collaboration diagram B. Object Graph C. Activity diagram D. Deployment Diagram
11.spring transaction Management, just understand the following attribute values can be.
REQUIRED (default): Executes in a transaction state or, if no transaction is currently present, creates a new transaction;supports: If there is currently transaction, execute in transaction state If there is no current transaction, execute without transaction state, MANDATORY: Must be executed in transaction state, if there is no current transaction, Throws an exception Illegaltransactionstateexception;requires_new: Creates a new transaction and executes it, or suspends the current transaction if transaction is currently present; Not_ Supported: Executes in a non-transaction state, suspends the current transaction if the current transaction is present, never: executes without transaction, or if there is currently transaction, Throws an exception illegaltransactionstateexception.
Also test the Js5-6 road around, JSP two or three road, the other is very fragmented.
26. Programming Questions:
Write a custom exception class mytestexception, and use it in another program
Asked about it during the interview.
basic data type conversions New integer.valueof () returns an Integer object. Integer.parseint () Returns the value of an int. New integer.valueof (). Intvalue (); Returns the value of an int as well. (Here is an example of a string conversion int)
list, set, map fundamentals, some basic knowledge of the database, JS and Java on the web side of the interaction, JS related knowledge, project some relevant experience and so on. Overall, it's relatively simple.
--2016.7.23
Java Written Exam interview 01