SOFTWARE DESIGN
OBJECT ORIENTED DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
# balance:Double
|
|
username
|
|
initialBalance:0.0
|
|
*pointer
|
Detailed explanation-1: -Names an element and specifies its attributes. For each attribute, specifies its name, data type, and required or optional presence.
Detailed explanation-2: -Attribute syntax ΒΆ First, an attribute declaration is always enclosed with a starting #[ and a corresponding ending ] . Inside, one or many attributes are listed, separated by comma. The attribute name is an unqualified, qualified or fully-qualified name as described in Using Namespaces Basics.
Detailed explanation-3: -An attribute name must not appear more than once in the same start-tag or empty-element tag. An attribute must be declared in the Document Type Definition (DTD) using an Attribute-List Declaration. Attribute values must not contain direct or indirect entity references to external entities. More items