单项选择题

A.FormsAuthentication
B.RoleProvider
C.SqlRoleProvider
D.MembershipProvider
相关考题

单项选择题 Whichofthefollowingisthecorrectcollectionofbuildevents?()

单项选择题 WhichmethodofthePageclasssearchesthepagenamingcontainerforaservercontrolwithaparticularidentifer?()

单项选择题 WhichpropertyoftheListViewclassisusedtogetsetthenameofthedatafieldwhosevalueexclusivelyidentifeseverydatarowofaListViewwhentheClientIDModepropertyissettoPredictable?()

单项选择题 现有:classNumber{publicstaticvoidmain(String[]aras){try{System.out.print(Integer.parselnt("forty"));}catch(RuntimeExceptionr){System.out.print("runtime");}catch(NumberFormatExceptione){system..ut.print("number");}}}结果是什么?()A.numberB.runtimeC.fortynumberD.编译失败

单项选择题 现有:voidtopGo(){try{middleGo();}catch(Exceptione){System.out.print("catch");}}voidmiddleGo()throwsException{go();system.out.print("latemiddle");}voidgo()throwsExceptiOn{thrownewException();}如果调用topGo(),则结果为:()A.latemiddleB.catchC.latemiddlecatchD.catchIatemiddle

单项选择题 现有:interfaceData{publicvoidload();}abstractclassInfo{publicabstractvoidload();}下列类定义中正确使用Data和Info的是哪项?()

单项选择题 现有:classA{publicStringname="a"}classBextendsA{publicStringname="b"}执行如下代码后的结果是哪项?()Aa=newB();System.out.println(a.name);

单项选择题 现有:1InterfaceF{}2classAimplementsF{}3classBextendsA{}4classCextendsB{5publicstaticvoidmain(String[]args){6Bb=newB();7//inSertC0dehere8}9}下列哪行代码插入到第7行,将抛出java.lang.ClassCaseException异常()

单项选择题 现有:classPencil{publicvoidwrite(Stringcontent){System.out.println("Write"+content);}}classRubberPencilextendsPencil{publicvoidwrite(Stringcontent){System.out.println("RubberWrite"+content);}publicvoiderase(Stringcontent){System.out.println("Erase"+content);}}执行下列代码的结果是哪项?()Pencilpen=newRubberPencil();pen.write("Hello");A.WriteHelloB.RubberWriteHelloC.编译错误D.运行时抛出异常

单项选择题 现有:classPencil{publicvoidwrite(Stringcontent){System.out.println("Write",+content){}}classRubberPencilextendsPencil{publicvoidwrite(Stringcontent){System.out.println("RubberWrite"+content);}publicvoiderase(Stringcontent)}}执行下列代码的结果是哪项?()Pencilpen=newPencil();((RubberPencil)pen).write("Hello");A.WriteHelloB.RubberWriteHelloC.编译失败D.运行时抛出异常

单项选择题 现有classParserextendsUtils{publicstaticvoidmain(String[]args){try{System.out.print(newParser().getlnt('42'))}catch(Exceptione){System.out.println('Exc');}}intgetlnt(Stringarg)throwsException{returnInteger.parselnt(arg);}}classUtils{intgetlnt(){return42;}}结果是什么?()

单项选择题 现有:classPetimplementsSerializable{Collarc=newCollar();}classCollarimplementsSerializable{collarPartcpl=newCollarPart("handle");CollarPartcp2=newCollarPart("clip");}classCollarPartimplementsSerializable()如果Pet实例被序列化,则多少对象将被序列化?()A.0B.1C.2D.3E.4F.5

单项选择题 现有:Strings="writealinetoafile";w.print(s+" ");哪一个是对的?()

单项选择题 现有:-f是一个对java.io.File实例的合法引用-fw足‘个对java.io.FileWriter实例的合法引用-bw足一个对java.io.BufferedWriter实例的合法引用以下哪一项无效?()

单项选择题 现有:3.importjava.util.*;4.classForInTest{5.staticListlist=newArrayList();6.7.publicstaticvoidmain(String[]args){8.list.add("a");list.add("b");list.add("c");9.//insertcodehere10.System.out.print(o);11.}12.}哪一行插入到第9行将导致输出abc"?()A.for(Iteratoro:list.iterator();o.hasNext();)B.for(Iterator0:list)C.for(Objecto:list.iterator())D.for(Objecto:list)

未知题型 “对告”的常见英文为()

未知题型 环网的优点有: ()

单项选择题 现有:classThreadExceptimplementsRunnable{publicvoidrun(){thrownewRuntimeException("exception");}publicstaticvoidmain(Stri_ng[]args){newThread(newThreadExcept()).start();try{intx=Integer.parselnt(args[0]);Thread.sleep(x);System.out.print("main");}catch(Exceptione){}}}和命令行:javaThreadExceptl000哪一个是结果?()A.mainB.编译失败C.mainjava.lang.RuntimeException:exceptionD.代码运行,但没有输出

未知题型 GPON常用组网有

未知题型 北向PONNBI v1.1版本支持哪几个模块 ()