Database - Object-Oriented Data Modeling - Discussion

Discussion Forum : Object-Oriented Data Modeling - True or False (Q.No. 9)
9.
An operation that alters the state of an object is known as a constructor operation.
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
5 comments Page 1 of 1.

Zoya said:   9 years ago
The three most common types of operations that a class can have are:

* Modifiers
* Selectors
* Iterators

Modifiers:
A modifier operation alters the state of an object.

Selectors:
A selector operation lets you access the state of an object without changing it.

Iterators:
An iterator operation allows all the parts of an object to be accessed in a definite order. Object-oriented programmers often create a separate class that is responsible for using the iterator function on an object.

Getha reddy said:   1 decade ago
What is the meaning of Constructor and Destructor?

Sachin Matte said:   1 decade ago
But distructor is used to delete the object not to modify it.

Shadulla.shaik said:   1 decade ago
An operation that alters the state of an object is known distructor.

An operation that creates the state of an object is known constructor.

Pooja said:   1 decade ago
Please tell the name that an operation that alters the state of an object.

Post your comments here:

Your comments will be displayed after verification.