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

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

Anesthesia awareness is a potentially disturbing adverse effect wherein patients who have been paralyzed with muscle relaxants may awaken. They may be aware of their surroundings but unable to communicate or move. Neurologic monitoring equipment that helps to more closely check the patient's anesthesia stages is now available to avoid the occurrence of anesthesia awareness.

Did you know?

Of the estimated 2 million heroin users in the United States, 600,000–800,000 are considered hardcore addicts. Heroin addiction is considered to be one of the hardest addictions to recover from.

Did you know?

Symptoms of kidney problems include a loss of appetite, back pain (which may be sudden and intense), chills, abdominal pain, fluid retention, nausea, the urge to urinate, vomiting, and fever.

Did you know?

Cytomegalovirus affects nearly the same amount of newborns every year as Down syndrome.

For a complete list of videos, visit our video library