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

By definition, when a medication is administered intravenously, its bioavailability is 100%.

Did you know?

The term bacteria was devised in the 19th century by German biologist Ferdinand Cohn. He based it on the Greek word "bakterion" meaning a small rod or staff. Cohn is considered to be the father of modern bacteriology.

Did you know?

Street names for barbiturates include reds, red devils, yellow jackets, blue heavens, Christmas trees, and rainbows. They are commonly referred to as downers.

Did you know?

There are more nerve cells in one human brain than there are stars in the Milky Way.

Did you know?

The Centers for Disease Control and Prevention (CDC) was originally known as the Communicable Disease Center, which was formed to fight malaria. It was originally headquartered in Atlanta, Georgia, since the Southern states faced the worst threat from malaria.

For a complete list of videos, visit our video library