Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Database
»
Object-Oriented Data Modeling
A constructor operation does which of the following?
Creates a new instance of a class
Updates an existing instance of a class
Deletes and existing instance of a class
All of the above.
Correct Answer:
Creates a new instance of a class
← Previous Question
Next Question→
More Questions from
Object-Oriented Data Modeling
Multiple inheritance allows a class to inherit features from more than one superclass.
Composition does not allow an object to be part of more than one aggregate object.
A method defines the form or protocol of the operation, but not its implementation.
An object's state is determined by its attribute values and links to other objects.
The UML notation is useful for graphically depicting an object-oriented analysis or design model.
A derived element is typically shown by placing either a slash (/) or a stereotype of < > before the name of the element.
A class is a concept, abstraction, or thing that makes sense in an application context.
An operation that alters the state of an object is known as a constructor operation.
In UML, a class is represented by a rectangle with three compartments separated by vertical lines.
When a business rule involves three or more graphical symbols, you can show the constraint as a note and attach the note to each of the symbols by a dashed line.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments