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
Suppose that outFileis an ofstreamvariable and output is to be stored in the file outputData. out. Which of the following statements opens the file outputData. outand associates outFileto the output file? a. outFile ("outputData. out"); b. outFile.
Answers (1)
Use cases can be used to document both the current (As-Is) system and the future (To-Be) system. A. True B. False
Answers (1)
One of the best way to prevent workplace violence is to recognize the warning signs
Answers (1)
Which way is the quickest to access the Find and Replace dialog box?
Answers (1)
Why is a personal laptop computer NOT a server? because it processes data because it is not big enough servers are used directly by computers, not by people servers are hardware
Answers (1)
New Questions in Computers & Technology
What would be the most popular piece of technology on Earth?
Answers (2)
The process of providing and denying access to objects is called:
Answers (1)
How long would it take to leave oort cloud?
Answers (1)
You have a large company, and it is important to your business that your employees' work is backed up regularly. Which network would provide you with the most security? Centralized Client server GUI Peer-to-peer
Answers (1)
While driving on a highway you have a tire blowout. After you have slowed down and regained control, you should?
Answers (2)
Home
»
Computers & Technology
» 9.2 code practice edhesive
Sign In
Sign Up
Forgot Password?