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
quester [9]
3 years ago
7

Which of the following demonstrates the proper way to specify a variable-length argument list?

Computers and Technology
1 answer:
larisa86 [58]3 years ago
7 0

Answer:

The answer to this question is option "d".

Explanation:

In the given question option d is correct because variable-length argument is a new feature in J2SE 5.0 which stands for java 2 standard edition and 5.0 is the version name. It is the variable-length argument lists. A coder can create functions that uses a function to receive several parameter that is not specified. An argument type followed by an ellipsis(...) in the parameter list of a method means that a fixed number of arguments of that particular type is obtained by the method. and other options are not correct that can be given as:

  • In option a, we do not need to use the string the variable-length argument list. That's why it is wrong.
  • The option b and c are all wrong because in the last parameter the variable-length argument list is used.

That's why the answer to this question is the option "d".

You might be interested in
tion. 6. A step occasionally required to repair damaged relationships is O A. looking at the problem from the other person's poi
Marta_Voda [28]
The answer to this question is b that's the answer
5 0
2 years ago
Suppose the CashRegister needs to support a method void undo() that undoes the addition of the preceding item. This enables a ca
a_sh-v [17]

Answer:

previousAddition instance variable

Explanation:

In order to accomplish this you would need to add a previousAddition instance variable. In this variable you would need to save the amount that was added at the end of the process. Therefore, if a mistake were to occur you can simply call the previousAddition variable which would have that amount and subtract it from the total. This would quickly reverse the mistake, and can be easily called from the undo() method.

3 0
2 years ago
What function does the domain name system (dns) perform?
solniwko [45]
DNS is a distribute database that can return the address of a named machine.
3 0
3 years ago
A poetry reading is a type of<br> A. performance<br> B. blog<br> C. installation<br> D. zine
Verizon [17]
A. performance because a poetry reading is when a poem is read out loud to an audience.
6 0
3 years ago
Read 2 more answers
You are the network administrator for a growing business. when you were initially hired, the organization was small and only a s
k0ka [10]
Usually, network devices can be set up to send their syslog messages to a syslog server, so you'd just need a *nix computer with syslog setup to receive messages via the network, and you can read stuff there. You also get the advantage of having reglar expressions so that "noise" (messages you don't care about) isn't displayed.

Network devices can also be set up to use SNMP (Simple Network Management Protocol).

6 0
3 years ago
Other questions:
  • You have already learned about the various types of lenses. Now, conduct online research and mention as many possible types of l
    9·1 answer
  • . Dеclarе a onе-dimеnsional array of 30 doublеs (on thе stack) namеd rainfall
    11·1 answer
  • What piece of software tells the operating system how to use a specific hardware device?
    14·1 answer
  • Apache web server is the most widely used network operating system used on web servers.
    8·2 answers
  • __________ can be used to replace internal network addresses with one or more different addresses so the traffic that actually t
    9·1 answer
  • To mitigate the effects of most of the common network threats including disruption, destruction and disaster, companies are begi
    11·1 answer
  • An internet connection is required to access which type of software?
    5·1 answer
  • Please select the word from the list that best fits the definition
    13·2 answers
  • Question #6
    9·2 answers
  • How many times would the code in this loop repeat? ____________ for ( j = 0; j &lt; 10; j++ ) { appendItem (myList, aNumber); }
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!