在计算机编程中,声明是一种指定标识符属性的语言结构。 [1]声明最常用于子程序、变量、常量和类,但也可用于其他实体,例如枚举。 [1]声明通常还能指定资料类型(对于变量和常量)以及类型签名(对于函数)[2][1] 。
参考文献
Wikiwand in your browser!
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.