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
coldgirl [10]
3 years ago
13

Consider the following code segment. int j = 10; int k = 8; j += 2; k += j; System.out.print(j); System.out.print(" "); System.o

ut.println(k); What is printed when the code segment
Computers and Technology
1 answer:
lubasha [3.4K]3 years ago
8 0

Answer:

Following are the output of the given code:

Output:

12 20

Explanation:

Description of the code:

  • In the java program code, two integer variable "j and k" is defined, that stores a value, that is "10 and 8", in its respective variable.
  • After storing the value it uses the "j and k" variable, in this, it increments the value of j with 2, and in the k variable, it adds the value of j and stores the value in k.
  • After incrementing the value, the print method is used that prints the value of "j and k", i.e, "12 and 20".
You might be interested in
Write a program to print "I love to program" to the screen 2 times. Edhesive​
Anon25 [30]

Answer:

It matters what programming language you are using. It would be something like this:

print("I love to program");

print("I love to program");

(written in modified javascript)

6 0
3 years ago
Xxx<br>uuuuuu<br>uuuu<br>jjnmn<br>jjh
Leviafan [203]
Answer: What’s this??
7 0
3 years ago
The ________ of the operating system enables users to communicate with the computer system. modem window network adapter card us
Marysya12 [62]

Well Formatted Question:

The _______ of the operating system enables users to communicate with the computer system.  

a) modem

b) window

c) network adapter card

d) user interface

Answer:

(d) user interface.

Explanation:

A user interface acts as a middleman between the user of a computer and the operating system of that computer. With the user interface, a user can easily communicate with the computer system including the applications running on it.

The user interface can either be text-based or graphics-based.

With text-based user interface, the user enters commands (using keyboards) in form of texts basically on the command line and then the operating system executes these commands.

With the graphical user interface, users interact with the computer using graphics-like control items such as buttons and menus to give instructions to the computer.

6 0
4 years ago
Literacy is best defined as knowing how to: (Points : 1
Soloha48 [4]
Depends on what kind of literacy you are referring to, (computer, health, etc). Since this was asked under computers and technology, I will base my answer on Computer Literacy.

Computer Literacy basically means how much you know about using a computer. Using applications such as Internet Explorer and Microsoft word, or simply typing a document is a form of computer literacy.
6 0
4 years ago
Which of the following should NOT be done to keep people from slipping on floors?
irina [24]

you should not leave them to air dry

5 0
3 years ago
Other questions:
  • What’s the process of observing someone actually working in a career that interests you?
    15·1 answer
  • Which is the most common way to install memory in a laptop?
    14·1 answer
  • 2Discuss the difference between overriding and overloading. (This is a very common interview question in programming)
    10·1 answer
  • People read all caps in e-mails as _____. yelling important points necessary for readability all of the above
    15·2 answers
  • An algorithm is Group of answer choices The part of the computer that does the processing A complete computer program The inputs
    6·1 answer
  • Recall the binary search algorithm.1. Using the algorithm/algorithmic environment, give pseudocode using a for loop.AnswerMy alg
    5·1 answer
  • The steps.txt file contains the number of steps a person has taken each day for a year. There are 365 lines in the file, and eac
    12·1 answer
  • Why would we need to consider implementing our business blockchain application not on Bitcoin but Ethereum?
    5·1 answer
  • Can someone urgently help me with my java code? Ive been working on it for hours and its not working.
    15·1 answer
  • This feature allows you to adjust your view to see the lower and upper part of a document
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!