Whichthe twodemonstrateencapsulationofdata?()
A.Memberdatahavenoaccessmodifiers.
B.Memberdatacanbemodifieddirectly.
C.Theaccessmodifierformethodsisprotected.
D.Theaccessmodifiertomemberdataisprivate.
E.Methodsprovideforaccessandmodificationofdata.
时间:2023-09-10 13:58:00
相似题目
-
Whichthe twoarecharacteristicsoftheServiceLocatorpattern?()
A.Itencapsulatescomponentlookupprocedures
B.Itincreasessourcecodeduplicationanddecreasesreuse
C.Itimprovesclientperformancebycachingcontextandfactoryobjects
D.Itdegradesnetworkperformanceduetoincreasedaccesstodistributedlookupservices
-
Whichthe twoareconcerningtheobjectsavailabletodeveloperscreatingtagfiles?()
A.Thesessionobjectmustbedeclaredexplicity.
B.Therequestandresponseobjectsareavailableimplicity.
C.TheoutputstreamisavailablethroughtheimplicitoutStreamobject.
D.TheservletcontextisavailablethroughtheimplicitservletContextobject.
E.TheJspContextforthetagfileisavailablethroughtheimplicitjspContextobject.