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
natta225 [31]
4 years ago
11

Which of the following commands would you use to start the program Main with four strings? a. java Main arg0 arg1 arg2 arg3 b. j

ava Main argo arg1 arg 2 arg3 arg4c. java Main argo arg1d. java Main argo arg1 arg 2
Computers and Technology
1 answer:
kirill [66]4 years ago
5 0

Answer:

The answer is a. java Main arg0 arg1 arg2 arg3

Explanation:

The strings here are called command line argument. These command line arguments allow you to run your program from your terminal/command line. You may think just like passing parameters to a function. Since you have four strings in your program, you need to pass four arguments.

You might be interested in
Write a program that prompts the user to enter a Social Security number in the format ddd-dd-dddd, where d is a digit. The progr
koban [17]

ssn = input("Enter a valid Social Security number: ")

dashes = 0

nums = 0

message = "Invalid SSN"

if len(ssn) == 11:

   for x in ssn:

       if x.isdigit():

           nums += 1

       elif x == "-":

           dashes += 1

if nums == 9 and dashes == 2:

   message = "Valid SSN"

print(message)

I wrote my code in python 3.8. I hope this helps!

3 0
3 years ago
Linda has written a program that works well on various operating systems, but she needs to increase the readability of the progr
Naddika [18.5K]
Efficiency because if you don't have very good efficiency then somebody can't really read it so they won't know what it's saying.
5 0
4 years ago
Select the correct answer.
Marina86 [1]
C: pie chart is the answer to it
4 0
3 years ago
Read 2 more answers
Provide an example by creating a short story or explanation of an instance where availability would be broken.
ryzh [129]

Incomplete/Incorrect question:

Provide an example by creating a short story or explanation of an instance where confidentiality would be broken.​

<u>Explanation:</u>

Note, the term confidentiality refers to a state or relationship between two parties in which private information is kept secret and not disclosed by those who are part of that relationship. Confidentiality is broken when this restricted information is disclosed to others without the consent of others.

For instance, a Doctor begins to share the health information of a patient (eg a popular celebrity, etc) with others such as his family members and friend

s without the consent of the celebrity.

6 0
3 years ago
If you did not want the header to appear on the first page of a document but you do want it on all the other pages,
Alinara [238K]

Answer:

I would go to google doc

4 0
3 years ago
Other questions:
  • What is computer virus?
    8·1 answer
  • 1) Put the following in order from smallest to largest A) 1,500,000 bytes B) 2,000 kilobytes C) 0.01 petabytes D) 1 Terabyte E)
    8·1 answer
  • What engine component is shown in the above Figure?
    14·2 answers
  • In which slot is a video card most commonly installed within a laptop?
    15·1 answer
  • Answer the following questions:
    7·1 answer
  • 1. Describe the general characteristics of a program that would exhibit very high amounts of temporal locality but very little s
    14·1 answer
  • Dis-cord and/or snap????????????? Im 13 ! and a girl :)))))
    12·2 answers
  • ____ is an example of a set of prewritten classes that allows you to access data stored in a database.
    8·1 answer
  • (Brainliest!!)<br><br> How do i get rid of a headache?
    15·2 answers
  • List four safety factors that must be considered when building mine shaft headgear model
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!