Stick all the interview questions.
1. Please say that the basic data type of Java has those. 2. Please write a string to the number type method name to write the number type converted to a string 3. often use String in our Java development. Class operation, please answer the following two questions 1) Method 2 of the reverse rotation of strings 2) Try to write strings *** aaa *** Replace the AAA method for BBB or CCC 4. Developed in us The operation of the date is often encountered. 1) You often use those date operations in the development process. 2) Java is different from other different, then how he represents the timing, such as he is from January 1, 1970. Day start timing? 3) How to get a time number or division or month 4) How to determine whether today is a month's last day, of course, there is a lot of ways. 5.jsp and servlet have the same Points and different points, what is the connection between them. What is the method of jsp getting a request parameter. How to get a servlet's actual path 6. Procedure to write a JDBC connection database 7. Please write a database connection pool 8.J2EE is a technology or platform or architecture 9. Please find out the error in the following program. Class test {private string str1; private string str2; public static void main (string [] arg) {int N; if (n) {System.out.Println ("str1" str1);} else {system.out.println ("str2" str2);}}} 10. You read those Java books? 11. What is cookie and Session, what effect? 12. How is the hierarchy of PetStore! 13. What is the MVC design pattern, how he is implemented. 14.java implements a polymorphism in the concept of process programming, prompting What is the difference between inheritance? <% @ Include%> What is the difference between
Java developer interview points, Java basic knowledge 1. Java has the basic data types, String is the basic data type, what is the difference. 2. Action of strings: Write a method to implement strings, such as input ABC, output CBA writing a method to implement a string replace, such as: Enter BBBWLIRBBB, output BBBHHTCCC. 3. Conversion between data types How to convert numeric characters into numbers (Integer, Double) how to convert digital to characters to the first two digits, and go all over. 4. How to get the date and month, how to get a few days from 1970 to the current number of milliseconds, how to format the date of the month 5. Array and Collection 6. File and Directory (I / O) How to list all the files in a directory how to list all subdirectors in a directory to determine if there is a file or directory how to read and write files 7. Java polymorphism (inheritance, overload, overlay ) 8. Code transformation, how to convert a string encoded by GB2312 into ISO-8859-1 encoded strings. 9. The difference between step, statement, and preparedStatement accessed in Java. 10. Find out the error that the following code may exist and explain the reason: Second, JSP & Servlet technology 1. Describe the differences between JSP and Servlets, common, and respective applications 2. What should I do when I need to handle HTML tags in web development? The processing is to filter those characters (<> & ") 3. Read the client's request in JSP, how to access the CGI variable, how to determine the true path of a JSP file. 4. Describe the role, differences between cookie and session, and their respective applications, and the SESSION work. 5. What is the difference between the two people who contain external files in the JSP. 6. Describe the role of ErrorPage in JSP, application range. 7. Explain how to use JavaBeans in JSP. 8. Simple introduction to the JSP tag library 9. How to forward the request forwarding in the JSP and Servlets. Third, J2EE related knowledge 1. Introduce the difference between J2EE, J2SE, J2SE. 2. J2EE is a technology or a platform that provides those technologies. 3. What is Application Server, what features and advantages it is. 4. Briefly introduce the advantages and principles of the connection pool. 5. WEB.XML's role 4, other 1. Web security considerations (form validation, authentication of browser Basic mode, application security, SSL, code consideration) 2. Simple introduce your MVC. 3. Briefly introduce the XML you know. 4. Documents and Coding Specifications 5. Paging, efficiency considerations in Java. 6. Briefly introduce the Structs you know. Find out the following procedures. Class test {private string par1; private string par2; test () {} public static void main (string [] arg) {Int a; if (a) {system.out.println ("par1 =" par1);} Else {system.out.println ("PAR2 =" PAR2);}}}