Database - Object-Oriented Data Modeling - Discussion

Discussion :: 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.

[A]. True
[B]. False

Answer: Option B

Explanation:

No answer description available for this question.

Pooja said: (Oct 8, 2013)  
Please tell the name that an operation that alters the state of an object.

Shadulla.Shaik said: (Nov 3, 2013)  
An operation that alters the state of an object is known distructor.

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

Sachin Matte said: (Oct 9, 2014)  
But distructor is used to delete the object not to modify it.

Getha Reddy said: (Aug 25, 2015)  
What is the meaning of Constructor and Destructor?

Zoya said: (Oct 14, 2016)  
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.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.