This topic contains a solution. Click here to go to the answer

Author Question: How are entity classes drawn in UML-style E-R diagrams? What will be an ideal ... (Read 38 times)

ishan

  • Hero Member
  • *****
  • Posts: 546
How are entity classes drawn in UML-style E-R diagrams?
 
  What will be an ideal response?

Question 2

The first step in using a JDBC driver is to ________.
 
  A) establish a connection to the database
  B) load the driver
  C) create a statement
  D) call the DriverManager object



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

javimendoza7

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

UML-style E-R diagrams draw an entity as a vertical rectangle with three segments. The top segment shows the name of the entity, entity persistence and class attributes (if any). The second segment holds the entity attribute names, and the third segment documents OOP constraints and methods that belong to the entity. Public, Protected, Private attributes and methods are preceded by +., -, respectively.

Answer to Question 2

B




javimendoza7

  • Sr. Member
  • ****
  • Posts: 293

 

Did you know?

The cure for trichomoniasis is easy as long as the patient does not drink alcoholic beverages for 24 hours. Just a single dose of medication is needed to rid the body of the disease. However, without proper precautions, an individual may contract the disease repeatedly. In fact, most people develop trichomoniasis again within three months of their last treatment.

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?

Parkinson's disease is both chronic and progressive. This means that it persists over a long period of time and that its symptoms grow worse over time.

Did you know?

Every flu season is different, and even healthy people can get extremely sick from the flu, as well as spread it to others. The flu season can begin as early as October and last as late as May. Every person over six months of age should get an annual flu vaccine. The vaccine cannot cause you to get influenza, but in some seasons, may not be completely able to prevent you from acquiring influenza due to changes in causative viruses. The viruses in the flu shot are killed—there is no way they can give you the flu. Minor side effects include soreness, redness, or swelling where the shot was given. It is possible to develop a slight fever, and body aches, but these are simply signs that the body is responding to the vaccine and making itself ready to fight off the influenza virus should you come in contact with it.

Did you know?

In most climates, 8 to 10 glasses of water per day is recommended for adults. The best indicator for adequate fluid intake is frequent, clear urination.

For a complete list of videos, visit our video library