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
Anastasy [175]
3 years ago
10

To print the number of elements in the array named ar, you can write :

Computers and Technology
1 answer:
Diano4ka-milaya [45]3 years ago
8 0

Answer:

Option c is correct.

Example :

public class Subject

{

public static void main(String [] args)

{

int ar[]={5,4,6,7,8};

System.out.println("the number of array elements are: ",ar.length);

}

}

Explanation:

The above program is created in java language in which Subject is a class name.Inside Subject class , there is main method.

Inside the main method, there is An array named 'ar' which data type is an integer and we have assigned the value to this array.

in the next line, we are printing the total no. of the element in the array with the length function which displays the length of an array or variable.

You might be interested in
When you purchase software in a box, reading the ________ is important to know if the software will function properly?
ycow [4]
Minimal and Recommended System Requirements
6 0
3 years ago
Name the months that have 30 days​
faust18 [17]

<em>Answer:</em>

<em>September, April, June, and November 29th in each leap year. Hope this helps! Have a blessed day!</em>

6 0
3 years ago
Read 2 more answers
Design a 4-bit register that can accept an input from the user and store the accepted input. The 4-bit register will operate in
Digiron [165]

The answer & explanation for this question is given in the attachment below.

4 0
3 years ago
HP laptop computers are produced on a line, with multiple workers completing one or two specific tasks to assemble the laptop. T
EastWind [94]

Answer:

HP laptop computers are produced on a line, with multiple workers completing one or two specific tasks to assemble the laptop. This is an example of <u>job Specialization Negatives </u>which can leave to boredom and dissatisfaction. A solution may be to introduce <u>job rotation  </u>where employees shift from one job to another.

Explanation:

One of the major disadvantages of specialization in a job is the repetitive routine which leads to boredom. As the brain does not get actively involved in the same boring routines, so there is more number of chances of mistakes to be made. The employees may also feel not connected to the procedures as they work in just one area.

To avoid these circumstances, the managers of a company should initiate the idea of job rotations. Job rotation simply means shifting the job of an employee for a few days so that he/she can get a better understanding of the job and company.

5 0
3 years ago
In a mission critical environment, performing maintenance operations on a host FIRST requires which of the following?
jonny [76]

Answer: (B) Migrating all VMs off the host.

Explanation:

  VMs migration is the virtual machine migration that basically change the workloads automatically in the system. The maintenance of the schedule results into the downtime in the server for users. In the mission critical environment, when we performing various types of maintenance operation on the host we first require migrate all the virtual machine.

 In the critical environment there is a chance that the data in the given host may be critical and the data in the virtual machine (VM) may be in critical position in the host.

5 0
3 years ago
Other questions:
  • Which of the following takes place during the research phase
    7·1 answer
  • If the base-10 system stops with the<br> number 9, then why isn't it called<br> base-9?
    15·1 answer
  • Netflix shows to watch?
    11·2 answers
  • Can anyone help me this is due today :) <br> Thank you so much
    14·2 answers
  • 15) Three primary activities of a program are: A) Variables, Operators, and Key Words B) Lines, Statements, and Punctuation C) I
    11·1 answer
  • 1. Write an if statement that assigns 20 to the variable y, and assigns 40 to the variable z
    10·1 answer
  • Define artificial intelligence?​
    15·2 answers
  • 8
    7·1 answer
  • Prior to the 1996 NEC, ____ receptacles and cords were permitted. However, now it is mandatory that a separate equipment groundi
    11·1 answer
  • The RGB value below produces a shade of purple. What does the number 175
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!