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 82 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?

A headache when you wake up in the morning is indicative of sinusitis. Other symptoms of sinusitis can include fever, weakness, tiredness, a cough that may be more severe at night, and a runny nose or nasal congestion.

Did you know?

Cocaine was isolated in 1860 and first used as a local anesthetic in 1884. Its first clinical use was by Sigmund Freud to wean a patient from morphine addiction. The fictional character Sherlock Holmes was supposed to be addicted to cocaine by injection.

Did you know?

No drugs are available to relieve parathyroid disease. Parathyroid disease is caused by a parathyroid tumor, and it needs to be removed by surgery.

Did you know?

There used to be a metric calendar, as well as metric clocks. The metric calendar, or "French Republican Calendar" divided the year into 12 months, but each month was divided into three 10-day weeks. Each day had 10 decimal hours. Each hour had 100 decimal minutes. Due to lack of popularity, the metric clocks and calendars were ended in 1795, three years after they had been first marketed.

Did you know?

Hyperthyroidism leads to an increased rate of metabolism and affects about 1% of women but only 0.1% of men. For most people, this increased metabolic rate causes the thyroid gland to become enlarged (known as a goiter).

For a complete list of videos, visit our video library