1、It is an important feature of the Java language that it always provides a default constructor to a class.
題目:總是為一個類提供了一個預設的構造函數是Java語言的一個重要特性 。
答案是false
事實上隻有在我們沒有顯示聲明任何構造方法時java才會為我們提供一個預設的無參構造函數。
2、在J2EE中,使用Servlet過濾器,需要在web.xml中配置()元素
A、<filter>
B、<filter-mapping>
C、<servlet-filter>
D、<filter-config>
答案是A、B