单选题 下列程序执行后,m的值是( )。   public class Testbbb {    public static void main (String args[ ]) {     int a=10,b=3,m=5;     if(a= =B) m + =a;     else m:+ +a*m;     System.out.println(m);    }   }
【正确答案】 C
【答案解析】首先判断(a= =B) ,10不等于3,则执行else后面的语句m=++a*m:++的优先级比*高,所以m=11*1=55,这样便得正确答案。   if-else结构的格式如下:   if(条件)   语句1:   else   语句2;   在条件为真的,执行语句1,然后跳过else和语句2,接着执行下面的语句;在条件为假时,跳过语句l,执行else后面的语句2,然后接着执行下面的语句。