考题
下列CASE语句中执行结果不为空的是()
A、SELECTCASEWHEN125THEN'true'ELSE'false'END;B、SELECTCASEBINARY'B'WHEN'a'THEN1WHEN'b'THEN2END;C、SELECTCASEWHEN-10THEN'true'END;D、SELECTCASE'one'WHEN1THEN'one'WHEN2THEN'two'END;
考题
[A] Like[B] Except[C] Regarding[D] With
考题
以下程序段的输出结果为 ( )int j=2;switch(j){case 2:System.out.print("two.");case 2+1:System.out.println("three.");breakdefault:System.out.println("value is"+j);break;}A.two.three.B.two.C.three.D.value is 2
考题
YouareimplementinganASP.NETapplicationthatusesLINQtoEntitiestoaccessandupdatethedatabase.TheapplicationincludesthefollowingmethodtoupdateadetachedentityoftypePerson.YouneedtoimplementtheUpdatePersonmethodtoupdatethedatabaserowthatcorrespondstothepersonToEditobject.Whichcodesegmentshouldyouuse?()A._entities.People.Attach(personToEdit);_entities.ObjectStateManager.ChangeObjectState(personToEdit,EntityState.Modified);_entities.SaveChanges();B._entities.ObjectStateManager.ChangeObjectState(personToEdit,EntityState.Added);_entities.SaveChanges();C._entities.People.ApplyCurrentValues(personToEdit);_entities.SaveChanges();D._entities.People.Attach(newPerson(){Id=personToEdit.Id});_entities.ObjectStateManager.ChangeObjectState(personToEdit,EntityState.Modified);_entities.SaveChanges();
考题
下列复选框构造方法,错误的是 ( )A.setLayout(new GridLayout(3,1));B.add(new Checkbox("one",null,true));C.add(new Checkbox("two"));D.add(new Checkbox("one",true));
考题
下列复选框构造方法,错误的是()。A.setLayout(newGridLayout(3,1));B.add(newCheckbox("one",null,true));C.add(newCheckbox("tWO");D.add(newCheckbox("one",true);
考题
以下程序段的输出结果为( )。 int j=2 switch (j){ Case 2: system.out.print("two."): Case 2+1: System.out.println("three."); break: default: System.out.println (“value is”+j): Break }A.B.twoA.two.three.B.twoC.threeD.value is 2
考题
WhichofthefollowingareassociatedwiththeapplicationlayeroftheOSImodel?(two.)()
A.pingB.TelnetC.FTPD.TCPE.IP
考题
Import for the first three months this year is larger than that for the__________period last year.
A.relating
B.concerning
C.corresponding
D.regarding