【单选题】【消耗次数:1】
在程序中不需要用public等命令明确声明与建立,刻直接使用的内存变量就是
局部变量
公共变量
私有变量
全局变量
参考答案:
复制
纠错
相关题目
【单选题】 当全局变量与函数内部的局部变量同名时,则在函数内部( )。
①  全局变量与局部变量都无效
②  全局变量有效
③  局部变量有效
④  全局变量与局部变量都有效
【单选题】 当全局变量与函数内部的局部变量同名时,则在函数内部( )
①  全局变量与局部变量都无效
②  全局变量有效
③  局部变量有效
④  全局变量与局部变量都有效
【单选题】 局部变量可以隐藏全局变量,那么在有同名全局变量和局部变量的情形时,可以用()提供对全局变量的访问。
①  作用域运算符
②  指针运算符
③  提取运算符
④  插入运算符
【判断题】 C语言中全局变量和局部变量不能同名。
①  正确
②  错误
【单选题】 如果局部变量和成员变量同名,如何在局部变量作用域内引用成员变量?( )
①  不能引用,必须改名,使它们的名称不相同
②  在成员变量前加 this,使用 this 访问该成员变量
③  在成员变量前加 super,使用 super 访问该成员变量
④  不影响,系统可以自己区分
【判断题】 JavaScript不声明变量的数据类型,变量可直接使用。
①  正确
②  错误
【判断题】 编码时尽量多用全局变量。()
①  正确
②  错误
【单选题】 不能释放内存变量的命令就是( )
①  release all
②  clear all
③  clear
④  clear memo
【单选题】 PHP中存在多种变量,其中在函数外定义的变量称之为( )。
①  局部变量
②  变量
③  超全局变量
④  全局变量
【单选题】 PHP中存在多种变量,其中在函数内部定义的变量称之为( )。
①  变量
②  局部变量
③  全局变量
④  内部变量
随机题目
【单选题】 The Sad Young Men included a group of young intellectuals except ________.
①  Hemingway and Dos Passos
②  Rod W. Horton and Herbert W. Edwards
③  F. Scott Fitzgerald and Eugene O’Neill
④  Ezra Pound, T. S. Eliot and E. E. Cummings
【单选题】 invective
①  beautiful words
②  facial expressions
③  convincing speech
④  abusive language
【单选题】 testimony
①  evidence
②  witness
③  liberation
④  trial
【单选题】 invoke
①  call forth
②  take down
③  put up
④  take the form of
【单选题】 inaugural
①  holy and sacred place in a church
②  formal speech made by a person on taking office
③  shelter from trouble, danger
④  talk for the purpose of teaching
【单选题】 asunder
①  from below
②  apart in direction or position
③  in or to a low place
④  from an upright position
【单选题】 sovereign
①  self-governing
②  self-sufficient
③  self-centered
④  self-respected
【单选题】 tribulation
①  contribution
②  delivery
③  distribution
④  great difficulty or trouble
【单选题】 belabour
①  ask sb. to work hard
②  set upon with too much talk
③  furnish with power
④  force upon others
【单选题】 undoing
①  showing
②  aziness
③  cover
④  destruction