1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kotykmax [81]
3 years ago
12

Natalie wrote a short program for parallel arrays as part of an assignment. What will be the first line of output based on her c

ode?
public class parArray
{
public static void main(String[] args){
int[] empID = {101, 102, 103};
String[] emp_name = {“Jamie Doe”, “Patricia Jack”, “Paul Nick”};
String[] dept = {“Finance”, “Technology”, “HR”};
for ( int i = 0; i {
System.out.print( empID[i] + “\t”);// \t = inserts a tab space
System.out.print( emp_name[i] + “\t”);
System.out.print( dept[i] + “\t”);
System.out.println();
}
}
}

A. 103 Paul Nick HR
B. 101 102 103
C. Jamie Doe Patricia Jack Paul Nick
D. 101 Jamie Doe Finance
Computers and Technology
1 answer:
guapka [62]3 years ago
4 0
Finance of the pack of them both it will be HR first
You might be interested in
Select the two statements below that are true. Press on the info button for
bulgar [2K]

Answer:

The command print must be in lower case.

To show a variable or a number you do  not need quotation marks.

Explanation:

print("string here")

strings can be created with single or double quotes

print(3+5) returns 8

4 0
3 years ago
You attempt to telnet to system 192.168.1.240. You receive the following message: "Connecting To 192.168.1.240...Could not open
Serjik [45]

Answer:

firewall

Explanation:

The firewall could be used to protect the network from unauthorised access.Usually an ip could be whitelisted so it could transfer packets between allowing it connect through.

3 0
3 years ago
What is the speed limit in school zone
Mkey [24]
School zones typically have speed limits between 15 and 25 mph (25 and 40 km/h).
8 0
4 years ago
Read 2 more answers
What do you use to put information into a computer?
OlgaM077 [116]
D, D,A,t,C,CA,D,t, D
5 0
3 years ago
Read 2 more answers
HURRY please!!!!
shutvik [7]
1. Go to insert tab
2. Click the chart tab
3. Choose the type of chart
4. Click OK
3 0
3 years ago
Other questions:
  • One important inheritance characteristic is that all entity subtypes inherit their ____ key attribute from their supertype. prim
    9·1 answer
  • Having plug and play support means you can plug in a device, turn on the computer, and then immediately begin using the device t
    11·1 answer
  • What is the last usable host IP address on the 192.168.32.9/30 network?
    15·1 answer
  • "Jan23" can be stored using which data type? O an alphanumeric string O a boolean operator o characters floating point numbers​
    13·2 answers
  • Choose the term that best matches each definition.
    7·1 answer
  • What are real online jobs any one of any age can get pays weekly by Pay<br> Pal
    8·1 answer
  • 60 points!
    14·2 answers
  • What is a common misconception about Agile and DevOps?
    9·1 answer
  • Different between embedded computer &amp;<br> Micro controllers
    8·1 answer
  • Write a program in c# that simulates the roll of two six sided dice.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!