Will the line be printed out as a result of the following code execution:
 
     object a = 1;
     object b = 1;
      if(b == a) 
      {
               Console.WriteLine("equal");
      }
 
Explanation
Nothing will be printed out since a and b are reference type variables and they refer to different objects

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты