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
Зареєструйся Зараз
або Підпишись на майбутні тести