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 75 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 first war in which wide-scale use of anesthetics occurred was the Civil War, and 80% of all wounds were in the extremities.

Did you know?

There can actually be a 25-hour time difference between certain locations in the world. The International Date Line passes between the islands of Samoa and American Samoa. It is not a straight line, but "zig-zags" around various island chains. Therefore, Samoa and nearby islands have one date, while American Samoa and nearby islands are one day behind. Daylight saving time is used in some islands, but not in others—further shifting the hours out of sync with natural time.

Did you know?

The effects of organophosphate poisoning are referred to by using the abbreviations “SLUD” or “SLUDGE,” It stands for: salivation, lacrimation, urination, defecation, GI upset, and emesis.

Did you know?

The Food and Drug Administration has approved Risperdal, an adult antipsychotic drug, for the symptomatic treatment of irritability in children and adolescents with autism. The approval is the first for the use of a drug to treat behaviors associated with autism in children. These behaviors are included under the general heading of irritability and include aggression, deliberate self-injury, and temper tantrums.

Did you know?

Nearly all drugs pass into human breast milk. How often a drug is taken influences the amount of drug that will pass into the milk. Medications taken 30 to 60 minutes before breastfeeding are likely to be at peak blood levels when the baby is nursing.

For a complete list of videos, visit our video library