A.ejbActivate() B.ejvPassivate() C.ejbCreate() D.ejcRemove()
A.<welcome-file>start.jsp</welcome-file> B.<welcome-file-list>start.jsp</welcome-file-list> C.<welcome-list> <welcome-file>start.jsp</welcome-file> </welcome-list> D.<welcome-file-list> <welcome-file>start.jsp</welcome-file> </welcome-file-list>
在J2ee中,在、mySample.java中包含代碼: System.out.println((InetAddress.getByName("aaaa")).getHostAddress()),但在網(wǎng)絡(luò)上沒(méi)有 aaaa這臺(tái)主機(jī)。那么該行代碼會(huì)()。
A.編譯運(yùn)行后什么也不顯示 B.編譯運(yùn)行后顯示“aaaa”字符文本 C.編譯不能通過(guò) D.編譯運(yùn)行后會(huì)跑出java.net.UnknownHostException異常