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

Glaucoma is a leading cause of blindness. As of yet, there is no cure. Everyone is at risk, and there may be no warning signs. It is six to eight times more common in African Americans than in whites. The best and most effective way to detect glaucoma is to receive a dilated eye examination.

Did you know?

Automated pill dispensing systems have alarms to alert patients when the correct dosing time has arrived. Most systems work with many varieties of medications, so patients who are taking a variety of drugs can still be in control of their dose regimen.

Did you know?

About one in five American adults and teenagers have had a genital herpes infection—and most of them don't know it. People with genital herpes have at least twice the risk of becoming infected with HIV if exposed to it than those people who do not have genital herpes.

Did you know?

Persons who overdose with cardiac glycosides have a better chance of overall survival if they can survive the first 24 hours after the overdose.

Did you know?

The first-known contraceptive was crocodile dung, used in Egypt in 2000 BC. Condoms were also reportedly used, made of animal bladders or intestines.

For a complete list of videos, visit our video library