tonytongxx
   
發文: 89
積分: 1
|
於 2009-07-16 19:02
     
QUESTION NO: 48 Given: <jsp:useBean id=”baz” class=”com.testking.Testking” type=”com.testking.Bar” /> Which two are true? (Choose two) A. An object of type com.testking.Testking is instantiated and assigned to a variable baz of type com.testking.Bar. B. An object of type com.testking.Bar is instantiated and assigned to a variable baz of type com.testking.Testking. C. To avoid error, com.testking.Bar must be superclass of com.testking.Testking or an interface implemented by com.testking.Testking. D. To avoid error, com.testking.Testking must be a superclass of com.testking.Bar or an interface implemented by com.testking.Bar.
Answer: B, D
正確答案應是 B,C
 
|