Question: electrical science Question 6 (1 point) Which statement will store the length of the dailyCosts ArrayList into len? (Don't just guess look it up!) a)

 electrical science Question 6 (1 point) Which statement will store the

electrical science

Question 6 (1 point) Which statement will store the length of the dailyCosts ArrayList into len? (Don't just guess look it up!) a) int len - dailyCosts.length0: 0 b) int len-daiosts.sizeO c) int len dailyCosts.length; d) int len dailyCosts.size Question 7 (1 point) Which of the following statements are valid ways to determine if an ArrayList named mylist is empty (ie it contains no elements)? (Two are correct.) . a) if (myList.isEmpty0) System.out.printin" Empty'): b) if (myList.get(O) 0) System.out.printin("Empty"): c) if (myList.size) 0) System.out.printlnl"Empty"); d) if(myList.length == 0) System.out.printin( Empty

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!