您的位置:首页>>认证综合>>SUN认证

SUN的SCJP认证大纲

 
SUN的SCJP认证大纲
以下是SUN公司列出的JAVA2认证考试的考试大纲。
Section1DeclarationsandAccessControl
·Writecodethatdeclares,constructs,andinitializesarraysofanybasetypeusinganyofthepermittedformsbothfordeclarationandforinitialization.
·Declareclasses,innerclasses,methods,instancevariables,staticvariables,andautomatic(methodlocal)variablesmakingappropriateuseofallpermittedmodifiers(suchaspublic,final,static,abstract,andsoforth).Statethesignificanceofeachofthesemodifiersbothsinglyandincombination,andstatetheeffectofpackagerelationshipsondeclareditemsqualifiedbythesemodifiers.
·Foragivenclass,determineifadefaultconstructorwillbecreated,andifso,statetheprototypeofthatconstructor.
·Statethelegalreturntypesforanymethodgiventhedeclarationsofallrelatedmethodsinthisorparentclasses.
Section2FLOWCONTROLANDEXCEPTIONHANDLING
·Writecodeusingifandswitchstatementsandidentifylegalargumenttypesforthesestatements.
·Writecodeusingallformsofloopsincludinglabeledandunlabeleduseofbreakandcontinue,andstatethevaluestakenbyloopcontrolvariablesduringandafterloopexecution.
·Writecodethatmakesproperuseofexceptionsandexceptionhandlingclauses(try,catch,finally)anddeclaresmethodsandoverridingmethodsthatthrowexceptions.
Section3GarbageCollection
·Statethebehaviorthatisguaranteedbythegarbagecollectionsystem,andwritecodethatexplicitlymakesobjectseligibleforcollection.
Section4LanguageFundamentals
·Identifycorrectlyconstructedsourcefiles,packagedeclarations,importstatements,classdeclarations(ofallformsincludinginnerclasses),interfacedeclarationsandimplementations(forjava.lang.Runnableorotherinterfacedescribedinthetest),methoddeclarations(includingthemainmethodthatisusedtostartexecutionofaclass),variabledeclarationsandidentifiers.
·Statethecorrespondencebetweenindexvaluesintheargumentarraypassedtoamainmethodandcommandlinearguments.IdentifyallJavaProgrammingLanguagekeywordsandcorrectlyconstructedidentifiers.
·Statetheeffectofusingavariableorarrayelementofanykindwhennoexplicitassignmenthasbeenmadetoit.
·StatetherangeofallprimitivedatatypesanddeclareliteralvaluesforStringandallprimitivetypesusingallpermittedformats,bases,andrepresentations.
Section5Operatorsandassignments
·Determinetheresultofapplyinganyoperator,includingassignmentoperators,instanceof,andcaststooperandsofanytype,class,scope,oraccessibility,oranycombinationofthese.
·Determinetheresultofapplyingthebooleanequals(Object)methodtoobjectsofanycombinationoftheclassesjava.lang.String,java.lang.Boolean,andjava.lang.Object.
·Inanexpressioninvolvingtheoperators&,|,&&,||,andvariablesofknownvaluesstatewhichoperandsareevaluatedandthevalueoftheexpression.
·Determinetheeffectuponobjectsandprimitivevaluesofpassingvariablesintomethodsandperformingassignmentsorothermodifyingoperationsinthatmethod.
Section6Overloading,Overriding,RuntimeType,andObjectOrientation
·Statethebenefitsofencapsulationinobjectorienteddesignandwritecodethatimplementstightlyencapsulatedclassesandtherelationships"isa"and"hasa".
·Writecodetoinvokeoverriddenoroverloadedmethodsandparentaloroverloadedconstructors;anddescribetheeffectofinvokingthesemethods.
·Writecodetoconstructinstancesofanyconcreteclassincludingnormaltoplevelclasses,innerclasses,staticinnerclasses,andanonymousinnerclasses.
Section7Threads
·Writecodetodefine,instantiate,andstartnewthreadsusingbothjava.lang.Threadandjava.lang.Runnable.
·Recognizeconditionsthatmightpreventathreadfromexecuting.
·Writecodeusingsynchronized,wait,notify,ornotifyAll,toprotectagainstconcurrentaccessproblemsandtocommunicatebetweenthreads.Definetheinteractionbetweenthreadsandbetweenthreadsandobjectlockswhenexecutingsynchronized,wait,notify,ornotifyAll.
Section8Thejava.awtPACKAGE
·Writecodeusingcomponent,container,andLayoutManagerclassesofthejava.awtpackagetopresentaGUIwithspecifiedappearanceandresizebehavior,anddistinguishtheresponsibilitiesoflayoutmanagersfromthoseofcontainers.
·Writecodetoimplementlistenerclassesandmethods,andinlistenermethods,extractinformationfromtheeventtodeterminetheaffectedcomponent,mouseposition,nature,andtimeoftheevent.Statetheeventclassnameforanyspecifiedeventlistenerinterfaceinthejava.awt.eventpackage.
Section9Thejava.langPACKAGE
·Writecodeusingthefollowingmethodsofthejava.lang.Mathclass:abs,ceil,floor,max,min,random,round,sin,cos,tan,sqrt.
·DescribethesignificanceoftheimmutabilityofStringobjects.
Section10Thejava.utilPACKAGE
·Makeappropriateselectionofcollectionclasses/interfacestosuitspecifiedbehaviorrequirements.
Section11Thejava.ioPACKAGE
·Writecodethatusesobjectsofthefileclasstonavigateafilesystem.
·WritecodethatusesobjectsoftheclassesInputStreamReaderandOutputStreamWritertotranslatebetweenUnicodeandeitherplatformdefaultorISO8859-1characterencodingandDistinguishbetweenconditionsunderwhichplatformdefaultencodingconversionshouldbeusedandconditionsunderwhichaspecificconversionshouldbeused.
·SelectvalidconstructorargumentsforFilterInputStreamandFilterOutputStreamsubclassesfromalistofclassesinthejava.io.package.
·Writeappropriatecodetoread,writeandupdatefilesusingFileInputStream,FileOutputStream,andRandomAccessFileobjects.
·DescribethepermanenteffectsonthefilesystemofconstructingandusingFileInputStream,FileOutputStream,andRandomAccessFileobjects.

查看上一页  返回分类首页 返回96PC首页  查看下一页

  版权所有:电脑知识大全 网站备案:粤ICP备07031496号  联系我们

友情链接:母婴知识  外贸商务网  娱乐频道  汽车维修知识  股票入门知识  游戏攻略秘籍  本站空间由安信网络提供