Sign In
Ask Question
Computers & Technology
Guerra
20 October, 03:46
9.2 code practice edhesive
+5
Answers (
1
)
Matias Decker
20 October, 04:33
0
import java. util. Scanner;
public class Main
{
public static void main (String[] args) {
String NAME[] = new String[5];
Scanner s1 = new Scanner (System. in);
System. out. println ("Enter Array Elements (Names) ");
for (int i=0; i < = 4; i++)
{
NAME[i] = s1. nextLine ();
}
System. out. println ("Array Elements (Names) ");
for (int i=0; i < = 4; i++)
{
System. out. println (NAME[i]);
}
}
}
Explanation:
We need to write a program in java to explain the array declaration. And we have that program in the answer section.
Comment
Complaint
Link
Know the Answer?
Answer
Not Sure About the Answer?
Get an answer to your question ✅
“9.2 code practice edhesive ...”
in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers
You Might be Interested in
What is the Matlab command to create a vector of the even whole numbers between 29 and 73?
Answers (1)
What property of semi-metals is useful in the computer industry? a. Semi-conducting c. Ability to bond b. Flexibility d. Highly reactive
Answers (1)
How to enlarge email to full screen?
Answers (1)
10 to the 8th power divided by 10 to the - 4th power
Answers (1)
What is the minimum valid subscript value for array a? #define MAX 50 int a[MAX], i, j, temp; A. 0 B. 1 C. Any negative number D. There is no minimum E. None of the above
Answers (1)
New Questions in Computers & Technology
A cover letter is a short, personalized letter you send with a:
Answers (1)
Can you scan only one computer at a time or can you perform multiple scans at a time?
Answers (1)
What are the five parts of computer hardware that can be found in most computer systems?
Answers (1)
Write a fragment of code that opens a file named numbers. txt, reads in pairs of number until end of file and sends the smaller of the two to a file named min. txt and the larger of the two to a file named max. txt (one number per line).
Answers (1)
Which of the following would not necessarily require an apology? Multiple ChoiceAn organization has criticized another organization. A leader has offended another. A follower has offended an external party. A wrongdoing is genuinely regretted.
Answers (1)
Home
»
Computers & Technology
» 9.2 code practice edhesive
Sign In
Sign Up
Forgot Password?