go QUESTIONS: What's a variable?

2026-08-30 浏览 (1)

QUESTIONS: What's a variable?

Where does a variable live?

  • Hard Disk
  • Computer Memory - CORRECT
  • CPU

What do you use a variable's name for?

  • To be able to access it later - CORRECT
  • It's just a label
  • I don't need to use it

How to change the value of a variable?

  • By using its name - CORRECT
  • By using its value
  • By asking to Go

After its declaration can you change the variable's type?

  • Yes : Go is dynamically-typed
  • No : Go is statically-typed - CORRECT
  • Both: Go supports both of them

你可能感兴趣的文章

go main

go main

go main

go main

go main

go Header

go main

go main

go main

go main

  • 所属分类: 后端技术
  • 本文标签: golang
  • 版权声明: 本文链接 https://seaxiang.com/blog/NAB02AK6