Ask Question

Which of the following would determine how many elements are in values?

1). int numElements = values. length;

2) int numElements = values. length ();

3) int numElements = values. size ();

4) int numElements = values. size; 5) double numElements = values. size;

+1
Answers (1)
  1. 24 July, 09:35
    0
    I guess depends on the language but for both java and C+ + answer 3 is correct.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following would determine how many elements are in values? 1). int numElements = values. length; 2) int numElements = values. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers