Author Question: Explain the lifetime of an object. Provide an example. What will be an ideal ... (Read 25 times)

Hungry!

  • Hero Member
  • *****
  • Posts: 1,071
Explain the lifetime of an object. Provide an example.
 
  What will be an ideal response?

Question 2

Which of the following is not true about managing data in today's large organizations?
 
  A) Application software is separate from the database software.
  B) Data is captured more than once to ensure accuracy.
  C) Data exists in databases for operational and managerial purposes.
  D) The need to manage data is continuous.



frre432

  • Sr. Member
  • ****
  • Posts: 347
Answer to Question 1

The lifetime of an object specifies when its instantiated, how long it exists, and when it is destroyed. We specifically create an object when we need it and free it afterwards when we are done with it, and so we are in complete control of its lifetime. We can show the start and end of an object's lifeline on a sequence diagram. A message to the object's Name indicates its construction. A cross symbol marked on its timeline shows its destruction.

Answer to Question 2

B



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question

frre432

  • Sr. Member
  • ****
  • Posts: 347

 

Did you know?

There are major differences in the metabolism of morphine and the illegal drug heroin. Morphine mostly produces its CNS effects through m-receptors, and at k- and d-receptors. Heroin has a slight affinity for opiate receptors. Most of its actions are due to metabolism to active metabolites (6-acetylmorphine, morphine, and morphine-6-glucuronide).

Did you know?

The first oral chemotherapy drug for colon cancer was approved by FDA in 2001.

Did you know?

Vaccines prevent between 2.5 and 4 million deaths every year.

Did you know?

People who have myopia, or nearsightedness, are not able to see objects at a distance but only up close. It occurs when the cornea is either curved too steeply, the eye is too long, or both. This condition is progressive and worsens with time. More than 100 million people in the United States are nearsighted, but only 20% of those are born with the condition. Diet, eye exercise, drug therapy, and corrective lenses can all help manage nearsightedness.

Did you know?

Approximately one in four people diagnosed with diabetes will develop foot problems. Of these, about one-third will require lower extremity amputation.

For a complete list of videos, visit our video library