题目内容
Youcreateaclasslibrarythatisusedbyapplicationsinthreedepartmentsofyourcompany.ThelibrarycontainsaDepartmentclasswiththefollowingdefinition.
publicclassDepartment{
publicstringname;
publicstringmanager;
}
Eachapplicationusesacustomconfigurationsectiontostoredepartment-specificvaluesintheapplicationconfigurationfileasshowninthefollowingcode.
YouneedtowriteacodesegmentthatcreatesaDepartmentobjectinstancebyusingthefieldvaluesretrievedfromtheapplicationconfigurationfile.
Whichcodesegmentshouldyouuse?()
查看答案
搜索结果不匹配?点我反馈
更多问题