Author Question: Explain the lifetime of an object. Provide an example. What will be an ideal ... (Read 24 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?

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?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

Though methadone is often used to treat dependency on other opioids, the drug itself can be abused. Crushing or snorting methadone can achieve the opiate "rush" desired by addicts. Improper use such as these can lead to a dangerous dependency on methadone. This drug now accounts for nearly one-third of opioid-related deaths.

Did you know?

Calcitonin is a naturally occurring hormone. In women who are at least 5 years beyond menopause, it slows bone loss and increases spinal bone density.

Did you know?

Drug abusers experience the following scenario: The pleasure given by their drug (or drugs) of choice is so strong that it is difficult to eradicate even after years of staying away from the substances involved. Certain triggers may cause a drug abuser to relapse. Research shows that long-term drug abuse results in significant changes in brain function that persist long after an individual stops using drugs. It is most important to realize that the same is true of not just illegal substances but alcohol and tobacco as well.

For a complete list of videos, visit our video library