Computer Science, asked by kajalkeshri538, 10 months ago

Given,int values[] =
{1,2,3,4,5,6,7,8,9,10};for(int
i=0;i< Y; ++i)
System.out.printin(values[i]);
Find the value of value[i]?
10​

Answers

Answered by pubg6
0

Answer:

Adenosine Triphosphate

Answered by mahinderjeetkaur878
0

Answer: - (d). None of the above.

Complete question: -

Q. Given,int values[] =

{1,2,3,4,5,6,7,8,9,10};for(int

i=0;i< Y; ++i)

System.out.printin(values[i]);

Find the value of value[i]?

(a) 10

(b) 11

(c) 15

(d) None of the above

Answer: -

Option (d) None of the above.

Detailed answer: -

In the given code, we will get one error.

Inside the for loop the variable Y is not defined in the given codes or algorithm.

In the provided question, the value[i] is being asked, but the array name in the values and the variable value is not used in the provided codes.

About Java: -

  • Java is one of the most popular and most important programming language known in the world.
  • Due to its different and unique features, it is the most widely used language in every corner of the world and in the human life.
  • There are many features of Java that makes it different from the other programming languages.
  • It has become very important in the software as well as the hardware industries.

To know more about the topic, reach the below links: -
https://brainly.in/question/35417585

https://brainly.in/question/37427612

#SPJ3

Similar questions