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
N76 [4]
3 years ago
12

Assume that an array named salarySteps whose elements are of type int and that has exactly five elements has already been declar

ed. Write a single statement to assign the value 30000 to the first element of this array.
Computers and Technology
1 answer:
bekas [8.4K]3 years ago
4 0

Answer:

The answer is "salarySteps[0] = 30000;"

Explanation:

In the question is it define that salarySteps[] is an array variable that accepts an integer value because it datatype is int. In this array five elements are already declared so, the code for assign value that is "30000" in array first elements is "salarySteps[0] =30000;".  

  • array index starts with 0 and ends with n-1 so, we use array[0] for assign value.  
  • It is a collection of homogeneous elements that means it collects only one type of value at a time like a number, characters, and string, etc.
You might be interested in
Which term collectively describes hard disks, CDs, and flash drives?
N76 [4]
Hard disks, CDs, and flash drives are all storage mediums.
8 0
3 years ago
Read 2 more answers
What is a characteristic of the network layer in the OSI model allows carrying packets for multiple types of communications amon
Paladinen [302]

Answer:

The correct answer to the following question will be "The capacity to work without reference to the data that would be contained in each bundle".

Explanation:

  • The Layer network governs the activity of the subnet. The main objective of this layer would be to transport data over multiple links from source to destination. When two computers are linked to the same cable, see no need for the network layer.
  • The role of this layer protocols defines the configuration and handling of packets used to transfer information from one to another host.
  • The main purpose of this layer is to allow multiple channels to be intertwined. This is achieved by sending packets to network adapters that depend on algorithms to identify the best directions for the information to move. Such routes are referred to as computer circuits.

Therefore, it would be the right answer.

6 0
3 years ago
To ____ a public member function of a base class in the derived class, the corresponding function in the derived class must have
Norma-Jean [14]

Answer:

None of the mentioned options

Explanation:

  • If we define a method in a derived class with same declaration type as that of base class then it is said to be overriding a function which behaves differently which will depend on the object which is calling the method.
  • Option a,b and c are not any kind of methods we implement using coding.
  • Option d is done when number or data types of parameters are different than the declaration of the base type.

8 0
3 years ago
Did this technological advancement take away or create jobs? Overall, what was the contribution of this technological advancemen
mars1129 [50]
It took away jobs and made day to day tasks easier
3 0
3 years ago
When is it not necessary to invoke the method myMethod using dot notation? When myMethod is private. When myMethod is invoked by
Paraphin [41]

Answer:

When myMethod is invoked by a method in the same class as myMethod.

Explanation:

When you are in a class, it is like a different enviroment and within that class you can call a method without using the dot notation because you are still within the class.

Outside the class and despite the type of method, public, private or static, the dot notation will be required.

5 0
3 years ago
Read 2 more answers
Other questions:
  • Give two examples of desktop publishing software
    7·1 answer
  • Administrative activities, such as archiving project files, closing out contracts, documenting lessons learned, and receiving fo
    15·1 answer
  • Difference between ancient and modern mode of information <br> transmission
    12·1 answer
  • Help giving points mark BRAINLEST
    5·1 answer
  • What is keylogging attack?
    13·2 answers
  • Which operating system user interface does not reside on the computer but rather in the cloud on a web server?
    5·1 answer
  • Sum of 18/7 and 13/7 is *​
    14·2 answers
  • Represent the measuring unit ofcomputer un terms of fration of second​
    13·1 answer
  • 2
    5·1 answer
  • Impromptu speaking ability is very important in the workplace to clearly and effectively communicate ideas. An effective impromp
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!