Discussion :: Object-Oriented Data Modeling - True or False (Q.No.9)
An operation that alters the state of an object is known as a constructor operation.
Answer: Option B
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:
A modifier operation alters the state of an object.
A selector operation lets you access the state of an object without changing it.
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:
Email : (optional)
» Your comments will be displayed only after manual approval.