Question: To declare an array or integers 2 points that has 5 elements use: * O A. int[] n = new int[5]; B. int n[] =

 To declare an array or integers 2 points that has 5

To declare an array or integers 2 points that has 5 elements use: * O A. int[] n = new int[5]; B. int n[] = new int[5]; C. int[5] n = new int[]; both a and b both b and c 2 points If you wanted to find out where the position of the letter v i.e. return 2) in the String s containing the word "Java", which of the following could you use? * mid(2,s); s.charAt(2); s.indexOf('v'); indexOf(s/V')

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!