【面试】快乐讯广告

1、Choose the three valid identifiers from those listed below.

A. IDoLikeTheLongNameClass

B. $byte

C. const

D. _ok

E. 3_case

2、How can you force garbage collection of an object?

A. Garbage collection cannot be forced

B. Call System.gc()

C. Call System.gc(), passing in a reference to the object to be garbage collected.

D. Call Runtime.gc()

E. Set all references to the object to new values(null, for example)

3、Given

1. public class test{

2.  public static void main(String args) {
3.    int i = 0xFFFFFFF1;

4.    int j = ~i;

5.  }

}

What is the decimal value of j at line 5?

A. 0

B. 1

C. 14

D. -15

E. An error at line 3 causes compilation to fail

F. An error at line 4 causes compilation to fail

4. Given

Integer i = new Integer(42);

Long l = new Long(42);

Double d = new Double (42.0);

Which two expressions evaluate to True? (Choose Two)

A. (i==l)

B. (i == d)

C. (d == l) 

D. (i.equals(d))

E. (d.equals(i))

F. (i.equals(42))

5. Exhibit:

1. public cllass test{

}

1、MongoDB与MySQL的区别及优缺点

MongoDB处理关系型数据库时不是很好处理、一定的数据冗余

http://blog.sina.com.cn/s/blog_966e430001019s8v.html

http://www.csdn.net/article/2014-03-06/2818652-when-use-mongodb-rather-mysql

2、MySQL的优化

3、数据库连接池

4、SpringMVC

5、JDBC连接数据库的步骤以及数据库连接池的处理

原文地址:https://www.cnblogs.com/daishuguang/p/3950161.html