go top

instance variable

  • 实例变量:面向对象编程中,与类相关联的成员变量,每个类的对象都有一个独立的副本。

网络释义专业释义

  实例变量

回到计算机程序的世界中来,类是一个模板或处方,它定义了一组变量和一组方法,其中前者称为实例变量instance variable),后者包括用于实现那些方法的代码。对象(类的实例)是一个实际的内存块,为类中定义的变量集提供存储空间。

基于4437个网页-相关网页

  实例变数

实例变数(instance variable):在一个类别中没有使用static所宣告的变数。

基于82个网页-相关网页

短语

class instance variable 类实例变量

indexed instance variable 索引实例变量

  • 实例变量
    实例变数

·2,447,543篇论文数据,部分数据来源于NoteExpress

双语例句原声例句权威例句

  • Convert the people instance variable to XML.

    people实例变量转换成xml。

    youdao

  • It also creates a constructor that sets this instance variable.

    同时创建用于设置这个实例变量的构造函数

    youdao

  • Select for each view component the corresponding instance variable.

    每个视图组件选择相应实例变量

    youdao

更多双语例句
  • Most Britons, for instance, still have variable-rate mortgages, although the proportion with fixed-rate home loans is rising (thanks, in part, to lower inflation).

    ECONOMIST: The single currency

  • For instance, the two cards offered through Banana Republic have variable rates recently at 24% and 25%, higher than the recent average rate of 15% on all variable-rate cards.

    WSJ: 12 Debt Myths That Trip Up Consumers

  • Trading Direct, for instance, lends investors who are willing to assume a heavy debt load at a variable rate of 1.25 percent.

    FORBES: A Risky Game Retail Investors Play

更多权威例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定