Class+Components+and+Constructors+(Java)

1. Which of the following is a correct association?

__ **a)** **One class, many objects** __
b) One object, many classes

2. //BankAccount account39 = new BankAccount(500.43);//

a. Identify the class b. Identify the object c. What type of parameter(s) are passed to the constructor? d. Write code to show what the constructor might look like.
 * BankAccount**
 * account39**
 * double**
 * Public BankAccount (double c) {**
 * DecCash=c;**
 * }**

//double length = 44.0;// //int width =13;// //Rectangle myRect = new Rectangle(length, width);//

a. Identify the class b. Identify the object c. What type of parameter(s) are passed to the constructor? d. Write code to show what the constructor might look like.
 * Rectangle **
 * myRect **
 * double and int**
 * Public Rectangle (double 1, int w) {**
 * DecLength = l;**
 * IntWidth = w;**
 * }**