Recently reading effective C + +, want to make some notes, the same as each module in the book, but it may be inconsistent with the specific order in the module. Will not be involved in every detail of the book, mainly write down what you feel
This article will cover:
Java Thread Basic operations (create, wait, etc.)
Java Thread Synchronization primitives (synchronous, mutex)
If you are familiar with the above topics, please stop.Java Thread Basic OperationsThe Java
Prototype originated from French. The software standards are translated as "prototype", which represents the initial form of things and also contains the meaning of models and templates. The prototype concept in JavaScript exactly reflects the
In C and C ++, s t a t I c has two basic meanings, and these two meanings often conflict with each other:
1) allocated on a fixed address, that is to say, the object is created in a special static data zone, instead of being generated on the stack
Obtain four methods for registering beans in spring, especially the third method, which is simple:I. method 1 (mostly in the Struts Framework) inherits the basedispatchaction
Import com. Mas. wawacommunity. WAP. Service. usermanager; Public class
The scope of a variable is the context defined by it (that is, its effective range ). Most PHP variables have only one separate range. This independent range span also contains the range of file variables introduced by include and require, that is,
Variables are clearly different from other variables. next I will introduce you to static variables and attribute methods, static variable references, and static function usage. For more information, see. static variables: Another important feature
Transferred from: http://blog.csdn.net/zhandoushi1982/article/details/8453522/Static variables and static methods are static objects, and it is necessary to explain the differences between them and non-static objects.(1) What is the difference
Static variables and static methods are static objects, and it is necessary to explain the differences between them and non-static objects.(1) What is the difference between a Java static object and a non-static object?The comparison is as
The prototype concept in JavaScript exactly reflects the content of the word. We cannot understand it as a pre-declared concept of prototype in C ++.All function objects in JavaScript have a prototype attribute. This prototype attribute is an object
Static variables and static methods are static objects, and it is necessary to explain the differences between them and non-static objects.(1) What is the difference between a Java static object and a non-static object?The comparison is as
A good book here should be read earlier. To sum up, to facilitate future inspection. For_wind
1, as far as possible to replace #define with Const,enum,inline, or as far as possible to replace the preprocessor compiler#define可能并不进入符号表 (symbol table)
One, what is a deadlock.
Excerpted from Baidu:
The so-called deadlock: refers to two or more than two processes in the implementation process, as a result of competing for resources caused by a mutual wait for the phenomenon, without external forces,
The concept of prototype in JavaScript aptly reflects the meaning of the word, and we cannot interpret it as a prototype concept of C + +.
All of the function-type objects of JavaScript have a prototype attribute. The prototype property itself is an
1.static concept Static modifier, what is static modifier? As you know, any variable or code in the program is automatically allocated by the system at compile time to store the memory, and so-called static refers to the memory allocated after
Article 18: Make the interface easy to use correctly, not easy to misuse1, good interface is easy to use correctly, it is not easy to be misused. You should strive to achieve these properties in all of your interfaces.2, the "promote positive use"
Differences in construction methods and methods:The constructor method is to be the same as the class name, with no return type, called when the class is initialized.The method is best unlike the class name, where the object is called and the static
[ result analysis , four kinds of objects are deduced ]:
Survival mode
Timing of execution
Time to die
Global (Static) objects
Global static storage zone Global
Earlier than the program entry
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.