选择题:Whichstatementsaretrueconcerningtheeffectofthe>>and>>>operators?()

  • 题目分类:其他
  • 题目类型:选择题
  • 查看权限:VIP
题目内容:
A.Fornon-negativevaluesoftheleftoperand,the>>and>>>operatorswillhavethesameeffect.

B.Theresultof(-1>>1)is0.

C.Theresultof(-1>>>1)is-1.

D.Thevaluereturnedby>>>willneverbenegativeaslongasthevalueoftherightoperandisequaltoorgreaterthan1.

E.Whenusingthe>>operator,theleftmostbitofthebitrepresentationoftheresultingvalue will alwaysbethesamebitvalueastheleftmostbitofthebitrepresentationoftheleftoperand.




参考答案:

甲状腺肿瘤的治疗原则

甲状腺肿瘤的治疗原则

查看答案

Giventhefollowingclass,whichstatementscanbeinsertedatposition1withoutcausingthecodetofailcompilation?()publicclassQ6db8{inta;intb=0;staticintc;publicvoidm(){intd;inte=0;//Position1}}

Giventhefollowingclass,whichstatementscanbeinsertedatposition1withoutcausingthecodetofailcompilation?()publicclassQ6db8{inta;intb=0;staticintc;publicvoidm(){intd;inte=0;//Position1}}

查看答案

直肠脱垂的概念

直肠脱垂的概念

查看答案

IfthissourcecodeiscontainedinafilecalledSmallProg.java,whatcommandshouldbeusedtocompileitu

IfthissourcecodeiscontainedinafilecalledSmallProg.java,whatcommandshouldbeusedtocompileitu

查看答案

便秘的病史采集要点

便秘的病史采集要点

查看答案