logo

Crowdly

Browser

Add to Chrome

Об'єктно-орієнтоване програмування (2025, С.Д. Приходченко)

Looking for Об'єктно-орієнтоване програмування (2025, С.Д. Приходченко) test answers and solutions? Browse our comprehensive collection of verified answers for Об'єктно-орієнтоване програмування (2025, С.Д. Приходченко) at do.nmu.org.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Який спосіб виклику виключення є коректним?

0%
0%
0%
0%
0%
View this question

Що зробить програма, виконавши наступний код: Console.WriteLine(«Hello, World!»);

0%
0%
0%
0%
View this question

Що буде виведено на консоль?

public static void Main(string[] args)

{   {        int digit = 5;     }

Console.WriteLine(digit);

}

0%
0%
0%
View this question

Що буде виведено на консоль?

byte firstValue = 200;

byte secondValue = 100;

Console.WriteLine(firstValue + secondValue);

0%
0%
0%
0%
0%
View this question

Що буде виведено на консоль?

Console.writeLine("Text" + "

test");

0%
0%
0%
0%
0%
View this question

Що буде виведено у результаті виконання програми?

class Program 

{  static void

Main(string[] args) 

    {  var a = new A { B = 3 }; 

       

Console.Write(a is System.Object); 

        var o = a as

System.Object; 

       

Console.Write(o.B);  }  } 

public class A 

public int B;  } 

0%
0%
0%
0%
View this question

Де результат дорівнюватиме true, якщо перший рядок:

int a = 1, b = 5; bool some = false;

?

0%
0%
0%
0%
0%
View this question

Чи можна зробити перевантаження операторів true та false?

0%
0%
View this question

Що буде виведено у результаті виконання програми?

class Program 

{  static void

Main(string[] args) 

    {  Console.WriteLine(Average(5, 3, 7)); 

        Console.ReadLine();   } 

      public static

double Average(params int[] values) 

    {  double sum = 0; 

        for (int i =

0; i < values.Length; i++)  {  sum += values[i];  } 

       

return sum/values.Length;  }  } 

0%
0%
0%
0%
View this question

Що буде виведено на консоль?

bool isValid = 1; 

Console.WriteLine(isValid);

0%
0%
0%
View this question

Want instant access to all verified answers on do.nmu.org.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome