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 92 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 word drug comes from the Dutch word droog (meaning "dry"). For centuries, most drugs came from dried plants, hence the name.

Did you know?

Signs of depression include feeling sad most of the time for 2 weeks or longer; loss of interest in things normally enjoyed; lack of energy; sleep and appetite disturbances; weight changes; feelings of hopelessness, helplessness, or worthlessness; an inability to make decisions; and thoughts of death and suicide.

Did you know?

The shortest mature adult human of whom there is independent evidence was Gul Mohammed in India. In 1990, he was measured in New Delhi and stood 22.5 inches tall.

Did you know?

Addicts to opiates often avoid treatment because they are afraid of withdrawal. Though unpleasant, with proper management, withdrawal is rarely fatal and passes relatively quickly.

Did you know?

The senior population grows every year. Seniors older than 65 years of age now comprise more than 13% of the total population. However, women outlive men. In the 85-and-over age group, there are only 45 men to every 100 women.

For a complete list of videos, visit our video library