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
Artist 52 [7]
3 years ago
5

What is the output of the following code: ​ for (loop = 1; loop <3; ++loop) System.out.print(1); for (loop2 = 1; loop2<3;

++loop2) System.out.print(2); ​
Computers and Technology
1 answer:
Mama L [17]3 years ago
7 0

Answer:

The output of the given code as follows:

<u>Output: </u>

1122

Explanation:

In the given java code the two for loop is defined, which can be described as follows:

  • In the first loop, a"loop" variable is used, which starts from 1 and ends when the value of loop is less than 3, inside the loop a print function is used, that print value 1.
  • In the next step, another for loop is declared, inside the loop a variable "loop2" variable is used, that's working is the same as the above loop, but in this loop, it will print a value, that is 2.
You might be interested in
How can you tell if a motherboard can be watercooled?
ivann1987 [24]
Well your cpu should have a header on it for a pump you can look for close to the cpu it should be little metal rods sticking up where you could connect a fan or a cooling device to!
3 0
3 years ago
This activity will help you meet these educational goals:
nirvana33 [79]

Answer:

you are doing research for configuration processors.

Explanation:

8 0
3 years ago
Read 2 more answers
Susan is troubleshooting a problem with a computer's network cabling. At which layer of the Open Systems Interconnection (OSI) R
Alisiya [41]

Answer:

Physical layer

Explanation:

The physical layer is responsible for the physical cable or wireless connection.

6 0
3 years ago
It is considered good practice to save a presentation before printing it. true false
Ilya [14]
It is true because it is really a good practise to save a presentation before printing it

5 0
3 years ago
What is the impact of using computer in office?​
yawa3891 [41]

Answer:

It significantly enhance productivity.It can increase the speed and accuracy of many work processes, which improves overall worker efficiency. Documents can be written and edited much more quickly with the aid of a word processing program, and procedures, such as billing and accounting, can also occur more rapidly and with fewer errors.Computers in the office increase productivity not only in areas such as word processing, data management and information access, but also in information creation, collation and ultimately storage.

8 0
3 years ago
Other questions:
  • Write a JAVA program that repeatedly prompts your user for a number, uses a recursive function to calculate the product of that
    8·1 answer
  • Write a program to print the area of a rectangle by creating a class named 'Area' having two methods. First method named as 'set
    6·1 answer
  • Which of the following are results of technological advancements and increased automation?
    6·2 answers
  • Describe how operating system use the following security tools: firewall, automatic updating, antivirus software, spyware and ma
    11·1 answer
  • What is a non-example for job application???
    11·1 answer
  • Imagine that a time machine has transported you back to an earlier civilization or historical era. Poking through your backpack,
    12·1 answer
  • Marissa is designing a web page that features lessons on how to build cabinets. how can she make the page most engaging for the
    7·1 answer
  • What are three ways a person may use a computer without realizing it?
    9·1 answer
  • Does any one know how to do addition of binary numbers​
    6·1 answer
  • Why, during the final stage of the multistage model for e-commerce, is comprehensive customer information captured in the suppli
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!