Discover object oriented interview questions, include the articles, news, trends, analysis and practical advice about object oriented interview questions on alibabacloud.com
Hiring smart software developers is not easy.If you're not careful you might end up hiring a bunch of moronic Mandrills, like I did last year. and you don't want that. trust me. stand-up meetings are very hard to do in a tree.
The key is to askChallenging questionsThat enable you to distinguish the smart software developers from the moronic Mandrills. And to help you with that, I decided to publish my private list100 interview
Spring, hibernate, struts interview questions, hibernatestruts
1. Is Action thread-safe? If there is no way to ensure the thread security of Action? If yes, explain the reasonNoDeclare local variables, or expand RequestProcessor to create an Action each time, or use scope = "prototype" in spring to manage
2. MVC: analyze how struts implements MVC.M: JavaBean or composed of EJB components or pojoC: Action to
-oriented, my understanding is to put data and operations together, and they have their own life cycle. For abstraction and polymorphism, it is the virtual programming, that is, the interface or abstract class. The changes are abstracted, and the corresponding changes are polymorphic. Polymorphism has a classic word: The parent class reference points to the subclass object.
encapsulation, inheritance/comb
used to invoke a function and can specify this the context, you can let the code use the object you specified, rather than rely on the browser to calculate the this point to what. Call, apply and bind itself is quite complex, should have its own documentation, and we will consider this as part of the future problem to be solved. Here is an this example of how to change the pointer method:View this on JsfiddleEvent delegation and this being an importa
configuration. While JavaScript is interpreted to perform without generating intermediate files, "read a sentence, execute a sentence", the execution can generally be done in three ways:1. The general browser comes with the JS interpreter, which can be used directly by the browser;2. Special interpreter software can be installed node. js, executing the. js file;3. Executed with the Web page, using the Third, the data typeJava is a strongly typed language, and when it comes to data, the declarat
C ++ programmers apply for common interview questions in-depth analysis 2 -- Linux general technology-Linux technology and application information, the following is to read details. 3. Internal issues
Question 1: Give the if statement for comparing the BOOL, int, float, pointer variable and "zero value" respectively (assuming the variable name is var)
Answer:
Boolean variable: if (! Var)
Int type variab
Run method. 3, the thread object is created through the thread class, The subclass object of the Runnable interface is passed as a parameter to the constructor of the thread class. 4, invoking the thread object's Start method to open the thread. 1 The method of Runnable () interface can realize the separation of data service and data by multiple objects, which embodies the idea of
first line of the code snippet in this case.Question 5: call () and apply ()
Fix the previous issue and print Aurelio De Rosa from the last console. log.Answer
You can use the call () or apply () function to force the context of the function. If you do not know the difference between call () and apply (), I recommend that you read the article function. call and function. apply. Is there a difference between them? . In the following code, I will use call (), but in this case, apply () can also g
first line of the code snippet in this case.Question 5: call () and apply ()
Fix the previous issue and print Aurelio De Rosa from the last console. log.Answer
You can use the call () or apply () function to force the context of the function. If you do not know the difference between call () and apply (), I recommend that you read the article function. call and function. apply. Is there a difference between them? . In the following code, I will use call (), but in this case, apply () can also g
Summary of the interview questions of Spring and SPRINGMVC
Application scenarios, AOP principles, benefits of AOP in 1.Spring.
A: Aop--aspect oriented programming is programming for facets and is used to encapsulate crosscutting concerns in the following scenarios:
Authentication permissions, Caching cache, context passing content delivery, error handling Errors
The php interview questions collected on the Internet are posted for you in the php tutorial!
I. Basic Questions
1. What is object-oriented? What are the main features?
A face object is an elegant method to directly map objects an
reasonable allocation of server resources Cpu:apache MySQL in high-load environment, disk IO read and write too much, will certainly occupy a lot of resources, it is inevitable that the CPU occupies too high. Memory: Memory library, database software hard disk: file web2.0 architecture Select MongoDB+redis or mysql+Memcached is a better combination, the logic is simple to use NoSQL current main web site architecture LAMP, LNMP, LLMP now there is a lnamp architecture on the network, which is the
This article mainly shares 25 JavaScript interview questions that we need to know. If you want to pass the interview, refer
1. Use typeof bar === "object" to determine if bar is an object with potential drawbacks? How can we avoid such disadvantages?
The disadvantage of usi
This article mainly shares 25 JavaScript interview questions that we need to know. If you want to pass the interview, refer
1. use typeof bar === "object" to determine if bar is an object with potential drawbacks? How can we avoid such disadvantages?
The disadvantage of usi
Php programmer interview questions and answers
Class my_class
{
Function my_funct ($ my_param)
{
User_error ("please define me", E_ERROR );
}
Function B ()
{
Return 10;
}
}
?>
A. Multiple inheritance B. Interface C. abstract method D. private method E. function overload)7. suppose a testclass class is defined. what is the
following situations: 1. in the init function of MDD, 2. when the mdd open function is executed for the first time, 3. PDD;
Q8: What is the first parameter of the waitforsingleobject function? Describe its functions (don't feel disgusting, I didn't answer it. It's really hard to think about it, and it's usually quite smooth)A8: DWORD waitforsingleobject (handle hhandle, DWORD dwmilliseconds). Its function is to wait for the object specified by the h
1. What are the aspects of object-oriented features1. Abstraction:Abstraction is about ignoring aspects of a topic that are not related to the current goal, so that you can more fully focus on the aspects that are relevant to the current goal. Abstractions do not intend to understand all of the problems, but simply select one part of them, temporarily without some detail. Abstract includes two aspects, one
entire content of the situation load local content, reduce the amount of data transmission, avoid users constantly refresh or jump page, improve the user experienceDisadvantage: Unfriendly to the search engine, the cost of the front-back function under Ajax is large, and the number of requests may increase the cross-domain problem limit;JSON is a lightweight data interchange format, a subset of the ECMAPros: Lightweight, easy to read and write, easy to machine (JavaScript) parsing, support for
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:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.