Which of the following statements are correct?
a. When you create an array using new int[10], an array object is created with ten integers of value 0.
b. When you create an array using new int[10], an array object is created with no values in the array.
c. When you create an ArrayList using new ArrayList(), an ArrayList object is created with no elements in the ArrayList object.
d. When you create an array using int[] x = new int[10], x.length() is 10.
e. When you create an array using ArrayList x = new ArrayList(10), x.size() is 10.
acd
You might also like to view...
Which of the following is correct CSS syntax?
a. p { color: #000000; } b. p { color=#000000; } c. p : color #000000; c. p { color;#000000; }
Answer the following statements true (T) or false (F)
1. CSC can provide one or more of the cloud services to meet IT and business requirements of a CSP. 2. The three areas of support that a cloud broker can offer are service intermediation, service aggregation and service arbitrage. 3. NIST recommends selecting cloud providers that support strong encryption, have appropriate redundancy mechanisms in place, employ authentication mechanisms, and offer subscribers sufficient visibility about mechanisms used to protect subscribers from other subscribers and the provider. 4. Data must be secured while in transit, but not while in use or at rest. 5. The term platform as a service has generally meant a package of security services offered by a service provider that offloads much of the security responsibility from an enterprise to the security service provider.