网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

Thesl:shoppingListandsl:itemtagsoutputashoppinglisttotheresponseandareusedasfollows:11.<sl:shoppingList>12.<sl:itemname="Bread"/>13.<sl:itemname="Milk"/>14.<sl:itemname="Eggs"/>15.</sl:shoppingList>Thetaghandlerforsl:shoppingListisShoppingListTagandthetaghandlerforsl:itemisItemSimpleTag.ShoppingListTagextendsBodyTagSupportandItemSimpleTagextendsSimpleTagSupport.Whichistrue?()

A.ItemSimpleTagcanfindtheenclosinginstanceofShoppingListTagbycallinggetParent()andcastingtheresulttoShoppingListTag.

B.ShoppingListTagcanfindthechildinstancesofItemSimpleTagbycallingsuper.getChildren()andcastingeachtoanItemSimpleTag.

C.ItisimpossibleforItemSimpleTagandShoppingListTagtofindeachotherinataghierarchybecauseoneisaSimpletagandtheotherisaClassictag.

D.ShoppingListTagcanfindthechildinstancesofItemSimpleTagbycallinggetChildren()onthePageContextandcastingeachtoanItemSimpleTag.

E.ItemSimpleTagcanfindtheenclosinginstanceofShoppingListTagbycallingfindAncestorWithClass()onthePageContextandcastingtheresulttoShoppingListTag.


参考答案

更多 “ Thesl:shoppingListandsl:itemtagsoutputashoppinglisttotheresponseandareusedasfollows:11.sl:shoppingList12.sl:itemname=Bread/13.sl:itemname=Milk/14.sl:itemname=Eggs/15./sl:shoppingListThetaghandlerforsl:shoppingListisShoppingListTagandthetaghandlerforsl:itemisItemSimpleTag.ShoppingListTagextendsBodyTagSupportandItemSimpleTagextendsSimpleTagSupport.Whichistrue?()A.ItemSimpleTagcanfindtheenclosinginstanceofShoppingListTagbycallinggetParent()andcastingtheresulttoShoppingListTag.B.ShoppingListTagcanfindthechildinstancesofItemSimpleTagbycallingsuper.getChildren()andcastingeachtoanItemSimpleTag.C.ItisimpossibleforItemSimpleTagandShoppingListTagtofindeachotherinataghierarchybecauseoneisaSimpletagandtheotherisaClassictag.D.ShoppingListTagcanfindthechildinstancesofItemSimpleTagbycallinggetChildren()onthePageContextandcastingeachtoanItemSimpleTag.E.ItemSimpleTagcanfindtheenclosinginstanceofShoppingListTagbycallingfindAncestorWithClass()onthePageContextandcastingtheresulttoShoppingListTag. ” 相关考题
考题 ViewtheExhibitandexaminetheprivilegesgrantedtotheSL_REPuser.TheEMPtableisownedbytheSCOTTuser.TheSL_REPuserexecutesthefollowingcommand:SQLGRANTSELECTONscott.empTOhr;Whichstatementdescribestheoutcomeofthecommand()A.Thecommandexecutessuccessfully.B.ThecommandproducesanerrorbecausetheEMPtableisownedbySCOTT.C.ThecommandproducesanerrorbecauseSL_REPhastheGRANTANYOBJECTPRIVILEGEwithoutADMIN_OPTION.D.ThecommandproducesanerrorbecauseSL_REPdoesnothavetheSELECTprivilegewithGRANT_OPTIONontheEMPtable

考题 ViewtheExhibitandexaminetheuserinformation.TheuserhasbeengrantedCONNECTandRESOURCErolesandnoindividualsystemprivileges.TheSL_REPuserexecutesthiscommandtocreateatable:SQLCREATETABLEorders(oidnumber(6),odatedate,ccodenumber(4),oamtnumber(10,2))TABLESPACEpurchase_space;ThePURCHASE_SPACEtablespacealreadyexistsinthedatabase.Whichstatementdescribestheeffectofthecommand()A.ThecommandexecutessuccessfullyandcreatesthetableintheUSERStablespace.B.ThecommandexecutessuccessfullyandcreatesthetableinthePURCHASE_SPACEtablespace.C.Thecommandproducesanerrorbecausetheuserdoesnothavetheprivilegetocreatethetable.D.ThecommandproducesanerrorbecausetheuserdoesnothavequotainthePURCHASE_SPACEtablespace.