【单选题】【消耗次数:1】
对使用关键字new所开辟的动态存储空间,释放时必须使用( )
free
create
delete
realse
参考答案:
复制
纠错
相关题目
【单选题】 对使用关键字new所开辟的动态存储空间,释放时必须使用( )
①  free
②  create
③  delete
④  realse
【判断题】 Java程序里,创建新的类对象用关键字new,回收无用的类对象使用关键字free。
①  正确
②  错误
【单选题】 对指针动态分配空间用的关键字是()
①  define
②  int
③  new
④  float
【单选题】 堆式动态分配申请和释放存储空间遵守原则。
①  先申请先释放 
②  先申请后释放
③  后申请先释放 
④  任意申请和释放
【单选题】 定义一个类,必须使用的关键字是( )
①  public
②  class
③  interface
④  static
【单选题】 定义一个接口必须使用的关键字是( )
①  public
②  class
③  interface
④  static
【单选题】 关键字之间使用( )分隔。
①  A. 冒号
②  B. 顿号
③  C. 逗号
④  D. 分号
【单选题】 在使用super 和this关键字时,以下描述正确的是( )
①  在子类构造方法中使用super()显示调用父类的构造方法,super()必须写在子类构造方法的第一行,否则编译不通过
②  super()和this()不一定要放在构造方法内第一行
③  this()和super()可以同时出现在一个构造函数中
④  this()和super()可以在static环境中使用,包括static方法和static语句块
【单选题】 顺序栈存储空间的实现使用( )存储栈元素。
①  链表
②  数组
③  循环链表
④  变量
【单选题】 假定指针变量p定义为“int *p=malloc(sizeof(int));”,要释放p所指向的动态存储空间,应调用的函数为?
①  free(p)
②  delete(p)
③  free(*p)
④  free(p)
随机题目
【单选题】 Theproductinherfactoryisbetterthan_________
①  whichofmine
②  thatofmine
③  mine
④  whatofmine
【单选题】 -----CanyoutellmewhereTonyis?-----__________________________
①  Attheoffice
②  He’sworking
③  He’sfromCanada
④  He’sverybusynow.
【单选题】 WheneverImether,_________wasfairlyoften,shegreetedmewithasweetsmile
①  who
②  which
③  when
④  that
【单选题】 Hehasspent____moneyonhisnewhouse
①  alargenumberof
②  thenumberof
③  lotsof
④  numbersof
【单选题】 Hi,Tom,howiseverythingwithyou?_______________,andhowareyou?
①  Don’tmentionit
②  Hm,nottoobad
③  Thanks
④  Prettyfast
【单选题】 The________countryforthe2012SummerOlympicsistheBritain.
①  designer
②  guest
③  host
④  master
【单选题】 ----What’sthematter?----_____________.
①  Youshouldsaysorryfirst
②  Myhaircutisterrible
③  Youaresokind
④  No,Ican’tskate
【单选题】 Theyears______theappearanceofmygrandmother.
①  obscured
②  forgot
③  remembered
④  passed
【单选题】 Thenoisekepthim__________.
①  wake
②  awake
③  awoke
④  awoken
【单选题】 Dontleaveher_______outsideintherain
①  waiting
②  wait
③  towait
④  waited