Discover java j2ee interview questions, include the articles, news, trends, analysis and practical advice about java j2ee interview questions on alibabacloud.com
Echo is a language structure and has no return value. The print function is basically the same as echo. The difference is that print is a function and has a return value. print_r is a recursive print, which is used to output the PHP interview questions and answer 1 of the array object.
1. use PHP to print the previous day in the format of 22:21:21
// Echo date ('Y-m-d H: I: S', time ()-60*60*24Echo date ("
First Interview Questions (Java direction, China Rural Credit Cooperative)
1. What are the basic types of Java?
Byte, short, Int, long, float, double, Char, and Boolean.
2. Write a common design pattern?
Http://blog.csdn.net/xuqianghit/archive/2010/07/24/5761816.aspx
3. Explain the polymorphism in
security.Even so far, some people don't even know the basic semantics of SQL syntax.String sql = "SELECT * from Tb_name where name= '" +varname+ "' and passwd= '" +varpasswd+ "'";If we pass [' or ' 1 ' = ' 1] in as varpasswd. User name feel free to see what will become?SELECT * from tb_name = ' random ' and passwd = ' or ' 1 ' = ' 1 ';Because ' 1 ' = ' 1 ' is sure to be true, so you can pass any validation. What's more:Put [';d rop table tb_name;] Incoming in as VARPASSWD:SELECT * from tb_name
The interview also summarizes the first and two, this third may be more inclined to the inner monologue and interview skills summary ....First, MonologueBefore interviewing others, now it's your turn to find a job, how to say, each interviewer's views are different, interview the way is not the same, for example, I interview
-9fa4ae06b28a.html
Part 2: Spring, hibernate, and struts interview questions
How does Hibernate work and why?Principle:1. Read and parse the configuration file2. Read and parse the ing information and create SessionFactory3. Open Sesssion4. Create transaction Transation5. Persistent operations6. Submit the transaction7. Disable Session8. Disable SesstionFactory
Why:1. The code for JDBC database access is en
Sp. Net interview questions
(To original address http://blog.sina.com.cn/s/blog_524c848901009e7b.html ~ Type = v5_one label = rela_nextarticle author Li Yang's blog http://blog.sina.com.cn/liiyang)
1. Briefly describe the access permissions of private, protected, public, and internal modifiers.
A. Private: Private Members can be accessed within the class.
Protected: protects members, which can be accesse
ASP and net interview questions
1. Briefly describe the access permissions of private, protected, public, and internal modifiers.A. Private: Private Members can be accessed within the class.Protected: protects members, which can be accessed within the class and in the inheritance class.Public: A Public member. It is completely public and has no access restrictions.Internal: accessible within the same name
the application, so hibernate level two caches are Concurrency problems are possible, so an appropriate concurrency access policy is required that provides the transaction isolation level for cached data. The second-level cache is optional and is a configurable plug-in, which, by default, is not enabled by Sessionfactory.When hibernate accesses the data object according to the ID, it is first checked from the session level cache, and if the level two cache is configured, then it is checked from
This article briefly introduces the interview questions for jsp programmers. For more information, see.
JSP Question 1. What built-in objects does jsp have? What are their roles?
A: JSP has the following nine basic built-in components (which can correspond to the six internal components of ASP ):
Request client request, which contains parameters from the GET/POST request
Response returned from the response
Ape, the professional basic knowledge is absolutely the most important, is the interview success of the most basic elements. I'm talking about the basics, not how many projects you've done, how many lines of code you've written, but basics of software development. When I interview, sometimes I meet some candidates, at first glance resume also has several years of work experience, the project is also full o
Interview Summary--java the skills that senior engineer should master
In front of the interview also summed up a and two, the third may be more inclined to the inner monologue and interview skills summed up it ...
One, monologue
Before interviewing others, now it's their turn to find a job, how to say it, each intervi
In the Java Core Knowledge interview, you can always encounter questions about handling exception and error. Exception processing is a very important aspect of Java application development and the key to writing robust and stable Java programs, which naturally makes it a fre
Java high-level software engineer interview course, java Course
If you want to apply for a job as a senior development engineer, it is far from enough to understand the basic knowledge of Java. You must also understand common data structures, algorithms, networks, operating systems, and other knowledge. Therefore, this
Soft JAVA pen questions, soft java questions
1. What method of MyObject will affect the correctness of the if expressionList l = new vertex List ();L. add (new MyObject (""));If (l. contains (new MyObject (""))){}A. toString ()B. equals ()C. hashCode ()D. clone ()-------------------------------- B2. What method of MyOb
current variable in the register (working memory) is indeterminate and needs to be read from main memory; Synchronized is the lock of the current variable, and other threads are blocked only if the variable is accessible to the front-thread.(3) volatile does not cause thread blocking, and synchronized can cause thread blocking.(4)volatile can only synchronize the value of a variable between the thread memory and the main memory, while synchronized synchronizes the values of all variables betwee
is the error?Short S1 = 1; S1 = S1 + 1; (the S1 + 1 operation results in int type, which requires forced conversion)Short S1 = 1; S1 + = 1; (it can be compiled correctly)12th. What is the difference between sleep () and wait?Sleep is a thread method, which causes the thread to suspend the execution for a specified time and give the execution opportunity to other threads. However, the monitoring status remains unchanged and will be automatically restored after the time. Calling sleep does not re
First, MonologueBefore interviewing others, now it's your turn to find a job, how to say, each interviewer's views are different, interview the way is not the same, for example, I interview others I like to ask the project he used those, and then to use the technology to ask some questions, or some of the scenarios of some technical implementation of the program
or a group of people who are difficult to deal with, try to tolerate it, at least in the first half of the project group. Because on the one hand all kinds of people have, we have to learn to deal with different people, on the other hand, if you are in a project for less than six months, the subsequent interviewer will most likely consider your personal problem.I write this article according to the experience of the interviewer, and these are from the Java
As a Java engineering lion, you've certainly experienced a lot of interviews, but every time you're almost always asked what is the MVC design pattern, how do you understand MVC's similar series of questions about MVC?"Frequency of occurrence""Key Test Centers"
The meaning of MVC
The structure of MVC
"Exam Analysis"In Java Web Development, there
As a Java engineering lion, you've certainly experienced a lot of interviews, but every time you're almost always asked what is the MVC design pattern, how do you understand MVC's similar series of questions about MVC?"Frequency of occurrence""Key Test Centers"
The meaning of MVC
The structure of MVC
"Exam Analysis"In Java Web Development, ther
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
[email protected]
and provide relevant evidence. A staff member will contact you within 5 working days.