Answer:
//""Print results to screen""
Explanation:
In c,c++,java,javascript // is used for the single line comment.
syntax:- // comment.
Whatever text that is followed after // is commented means this line will not get executed by the compiler.
Comments are used to explain the code to other person who is working on the code or trying to understand that code.
Answer: A. phones and computers
Explanation:
A tablet, is referred to as a mobile computing device which utilizes the touchscreen as the main input device that it has.
Tablets are usually bigger than a mobile phone but smaller than a computer. You can perform thesame function that you can do on your mobile phone or the computer on the tablet.
One can surf the net, play games and watch videos on the tablet.
Prototype is a working model for a product only for testing purposes
Answer:
This question is answered using Java programming language:
public static void print10(String[]arr){
for(int i =0; i<10;i++){
System.out.println(arr[i]);
}
}
Explanation:
This line defines the method
public static void print10(String[]arr){
This iterates from 0 to 9 index of the array. In other words, 1st to 10th
for(int i =0; i<10;i++){
This prints the required output (one on a line)
System.out.println(arr[i]);
}
}
<em>Refer to attachment for the complete program that includes the main method.</em>