Only 16.35% in the negative framing chose the safe program. A chi-square test revealed a significant difference.
负面框架组的被试,只有16.35%选择保守方案,差异有统计学意义。
Refactoring is a safe program restructuring technique that can guarantee the restructured program to preserve the behavior of the original program.
重构是一种安全的重建技术,它可以使被重建程序保持重建前程序的行为不变。
In a thread-safe program, only one writing thread can modify the variable; other threads can read the up-to-date value by declaring the variable volatile.
在一个线程安全的程序中,只有一个写线程能够修改这个变量;而其他的线程则可以读取volatile声明变量的最新值。
应用推荐