- 浏览: 522559 次
- 性别:
- 来自: 河北
最新评论
-
zrong:
已经支持了。
杂谈:倘若flash支持JPEG XR格式? -
蓝月儿:
anr是这么解释的呀。。。一次面试的笔试题,竟然都不知道是这样 ...
什么是ANR 如何避免它? -
hymer2011:
这是纯jsp的还是基于ssh的?
jsp网上商城源码 -
敲敲大葱头:
好文章,学习了
Android-SDK SearchableDemo--浮动搜索框(SearchManager) -
overkill:
你好,我在使用InstallAnywhere的silent安装 ...
InstallAnyWhere学习笔记 ( by quqi99 )
文章列表
The parameters of a method, if any, are declared by the method?s formal-parameter-list.formal-parameter-list:fixed-parametersfixed-parameters , parameter-arrayparameter-arrayfixed-parameters:fixed-parameterfixed-parameters , fixed-parameterfixed-parameter:attributesopt parameter-modifieropt type iden ...
- 2006-05-11 11:24
- 浏览 597
- 评论(0)
When a method declaration includes a static modifier, that method is said to be a static method. When nostatic modifier is present, the method is said to be an instance method.A static method does not operate on a specific instance, and it is a compile-time error to refer to this in a staticmethod.An ...
- 2006-05-11 11:24
- 浏览 529
- 评论(0)
When an instance method declaration includes a virtual modifier, that method is said to be a virtual method.When no virtual modifier is present, the method is said to be a non-virtual method.The implementation of a non-virtual method is invariant: The implementation is the same whether the method isi ...
- 2006-05-11 11:24
- 浏览 424
- 评论(0)
A constant is a class member that represents a constant value: a value that can be computed at compile-time. Aconstant-declaration introduces one or more constants of a given type.constant-declaration:attributesopt constant-modifiersopt const type constant-declarators ;constant-modifiers:constant-mod ...
- 2006-05-11 11:23
- 浏览 585
- 评论(0)
A field is a member that represents a variable associated with an object or class. A field-declaration introducesone or more fields of a given type.field-declaration:attributesopt field-modifiersopt type variable-declarators ;field-modifiers:field-modifierfield-modifiers field-modifierChapter 17 Clas ...
- 2006-05-11 11:23
- 浏览 224
- 评论(0)
A method is a member that implements a computation or action that can be performed by an object or class.Methods are declared using method-declarations:method-declaration:method-header method-bodymethod-header:attributesopt method-modifiersopt return-type member-name ( formal-parameter-listopt )metho ...
- 2006-05-11 11:23
- 浏览 439
- 评论(0)
A class-declaration is a type-declaration (§16.5) that declares a new class.class-declaration:attributesopt class-modifiersopt class identifier class-baseopt class-body ;optA class-declaration consists of an optional set of attributes (§24), followed by an optional set of class-modifiers(§17.1.1), fo ...
- 2006-05-11 11:22
- 浏览 416
- 评论(0)
The members of a class consist of the members introduced by its class-member-declarations and the membersinherited from the direct base class.class-member-declarations:class-member-declarationclass-member-declarations class-member-declarationclass-member-declaration:constant-declarationfield-declarat ...
- 2006-05-11 11:22
- 浏览 589
- 评论(0)
A class is a data structure that may contain data members (constants and fields), function members (methods,properties, events, indexers, operators, instance constructors, destructors, and static constructors), and nestedtypes. Class types support inheritance, a mechanism whereby a derived class can ...
- 2006-05-11 11:20
- 浏览 523
- 评论(0)
A virtual property declaration specifies that the accessors of the property are virtual. The virtual modifierapplies to both accessors of a read-write property?it is not possible for only one accessor of a read-writeproperty to be virtual.An abstract property declaration specifies that the accessors ...
- 2006-05-08 12:36
- 浏览 645
- 评论(0)
When a property declaration includes a static modifier, the property is said to be a static property. When nostatic modifier is present, the property is said to be an instance property.A static property is not associated with a specific instance, and it is a compile-time error to refer to this in the ...
- 2006-05-08 12:35
- 浏览 687
- 评论(0)
The accessor-declarations of a property specify the executable statements associated with reading and writing that property.accessor-declarations: get-accessor-declaration set-accessor-declarationoptset-accessor-declaration get-accessor-declarationoptget-accessor-declaration:attributesopt get accesso ...
- 2006-05-08 12:35
- 浏览 404
- 评论(0)
A property is a member that provides access to an attribute of an object or a class. Examples of properties includethe length of a string, the size of a font, the caption of a window, the name of a customer, and so on. Propertiesare a natural extension of fields?both are named members with associated ...
- 2006-05-08 12:34
- 浏览 652
- 评论(0)
The method-body of a method declaration consists of either a block or a semicolon.Abstract and external method declarations do not provide a method implementation, so their method bodiessimply consist of a semicolon. For any other method, the method body is a block (§15.2) that contains thestatements ...
- 2006-05-08 12:33
- 浏览 642
- 评论(0)
The method overload resolution rules are described in §14.4.2.
- 2006-05-08 12:33
- 浏览 236
- 评论(0)