16.5 Suppose we have the following code:public class Foo { public Foo() { . . . } public void first() { ... } public void second() { ... } public void ...
分类:
其他好文 时间:
2016-04-17 12:57:09
阅读次数:
232
16.1 What's the difference between a thread and a process? 进程Process是程序执行时的一个实例。一个进程是被分配系统资源的独立单元,每个进程在独立的地址空间上执行,如果需要使用其他进程的资源,需要使用进程间通讯,包括管道Pipes,文件 ...
分类:
编程语言 时间:
2016-04-13 07:19:31
阅读次数:
173
15.7 Imagine a simple database storing information for students' grades. Design what this database might look like and provide a SQL query to return a ...
分类:
其他好文 时间:
2016-04-12 07:21:15
阅读次数:
173
15.6 Draw an entity-relationship diagram for a database with companies, people, and professionals (people who work for companies). 在公司Companies工作的人是专家 ...
分类:
其他好文 时间:
2016-04-07 08:21:30
阅读次数:
195
15.5 What is denormalization? Explain the pros and cons. 逆规范化Denormalization是一种通过添加冗余数据的数据库优化技术,可以帮助我们减少关系数据库中耗时的交Join。在一般的规范化的数据库中,我们将数据存在不同的表中是为了减少冗 ...
分类:
其他好文 时间:
2016-04-07 08:16:01
阅读次数:
151
Write a SQL query to get a list of all buildings and the number of open requests (Requests in which status equals 'Open'). -- TABLE Apartments -- TABL ...
分类:
其他好文 时间:
2016-04-04 09:08:24
阅读次数:
157
Write a SQL query to get a list of tenants who are renting more than one apartment. -- TABLE Apartments -- TABLE Buildings -- TABLE Tenants -- TABLE C ...
分类:
其他好文 时间:
2016-04-03 08:57:37
阅读次数:
182
Chapter 1. Arrays and Strings1.1 Unique Characters of a String1.2 Reverse String1.3 Permutation String1.4 Replace Spaces1.5 Compress String1.6 Rotate ...
分类:
其他好文 时间:
2016-01-27 14:22:46
阅读次数:
140
14.6 Implement a CircularArray class that supports an array-like data structure which can be efficiently rotated.The class should use a generic type, ...
分类:
编程语言 时间:
2015-11-24 14:28:48
阅读次数:
195
14.3 What is the difference between final, finally, and finalize?这道题考察我们Java中的三个看起来很相似的关键字final,finally和finalize。别看它们三长的很像,但是完全不是一回事。final用在一个变量,方法或是类...
分类:
其他好文 时间:
2015-11-08 14:40:11
阅读次数:
168