logo

Crowdly

Язык Go. Даны типы: type A struct { value int } type B A func (...

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

Язык Go. Даны типы:

type A struct

{

value

int

}

type B A

func (b *B) inc()

{

b.value +=

1

}

и две переменные:

var objA A

var objB B

допустимо ли следующее преобразование типов:

objA = A(objB)

0%
More questions like this

Want instant access to all verified answers on moodle.cfuv.ru?

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

Browser

Add to Chrome