WhichcanappropriatelybethrownbyaprogrammerusingJavaSEtechnologytocreateadesktop application?() A.ClassCastExceptionB.NullPointerExceptionC.NoClassDefFoundErrorD.NumberFormatExceptionE.ArrayIndexOutOfBoundsException
WhichcanappropriatelybethrownbyaprogrammerusingJavaSEtechnologytocreateadesktop application?()
A.ClassCastException
B.NullPointerException
C.NoClassDefFoundError
D.NumberFormatException
E.ArrayIndexOutOfBoundsException
相关考题:
Global.asax的( )事件在每次页面请求开始时触发。 A.Application_EndRequestB.Application_StartC.Application_BeginRequestD.Session_Start
当 Web 应用关闭后,你需要人工释放资源。为此,你应该响应哪一个事件?() A.Application_BeginRequestB.Application_EndC. Application_StartD.Application_EndRequest
package com.company.application;public class MainClass{public static void main(String[]args){}}And Main Class exists in the/apps/com/company/application directory.Assume the CLASSPATH environment variable is set to.”(currentdirectory).Which two java commands entered at the command line will run MainClass()A.java MainClass if run from the/apps directoryB.javacom.company.application.MainClass if run from the/apps directoryC.java-classpath/appscom.company.application.MainClass if run fro many directoryD.java-classpath.MainClass if run fromt he/apps/com/company/application directoryE.java-classpath/apps/com/company/application:.MainClass if run from the/apps directoryF.javacom.company.application.MainClassifrunfromthe/apps/com/company/application directory
packagecom.company.application;publicclassMainClass{publicstaticvoidmain(String[]args){}}AndMainClassexistsinthe/apps/com/company/applicationdirectory.AssumetheCLASSPATHenvironmentvariableissetto.(currentdirectory).WhichtwojavacommandsenteredatthecommandlinewillrunMainClass?()A.javaMainClassifrunfromthe/appsdirectoryB.javacom.company.application.MainClassifrunfromthe/appsdirectoryC.java-classpath/appscom.company.application.MainClassifrunfromanydirectoryD.java-classpath.MainClassifrunfromthe/apps/com/company/applicationdirectoryE.java-classpath/apps/com/company/application:.MainClassifrunfromthe/appsdirectoryF.javacom.company.application.MainClassifrunfromthe/apps/com/company/applicationdirectory
假设现在已经利用Application对象把变量a赋值为456,那么下列语句中能显示出“456”的是______。A.<%=Application"a"%>B.<%=Application("a")%>C.<%=Application(a)%>D.<%=Application:a%>
OSI参考模型有哪些层,按顺序()。A.Application、session、transport、network、physical、physical、datalinkB.Application、presentation、session、network、transport、datalink,physicalC.Application、presentation、session、transport、network、datalink、physicalD.Application、session、transport、physical、network、physical、datalink
下面的语法格式中,()是将一个值保存到application变量中。A.Application.setAttribute(“变量名称”,值);B.Application.getAttribute(“变量名”);C.Application.getRealPath(“/”)%D.Application.getRealPath(“变量名”);
下面代码实现一个站点访问量计数器,空白处的代码为()。 void ____________(object sender, EventArgs e) { Application.Lock(); Application["AccessCount"] = (int)Application["AccessCount"] + 1; Application.UnLock(); }A.Application_StartB.Application_ErrorC.Session_StartD.Session_End