logo

Crowdly

Browser

Add to Chrome

Вихідний модуль містить код: class MyOut { public int A = 555; int B...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Вихідний модуль містить код:

class MyOut

{

public int A = 555;

int B;

public int View() {return A + B; }

}

class Program

{

static void Main ()

{

MyOut mout = new MyOut();

System.Console.Write (mout.A + mout.B);

}

}

Метод Main розроблявся для отримання суми полів A і B об'єкта класу MyOut.

Трансляція програми завершена невдало. З наведених висловлювань вкажіть висловлювання, яке розкриває причину некоректності програми:

C# oop_class

0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

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

Browser

Add to Chrome