Consider the following code segment. int j = 10; int k = 8; j += 2; k += j; System.out.print(j); System.out.print(" "); System.out.println(k); What is printed when the code segment.

Answers

Answer 1

Answer:

12 20

Explanation:

alright so, lets keep track of our variables

j+= 2 is j = j+2

so j is 12, and k += j is k = k + j so k is then 20.

j=12, k=20

It would print

12 20

because of the "space" on your second print statement, and the third would create a new line AFTER printing itself first.


Related Questions

What are some options available when inserting an address block? Check all that apply. Previewing, postal code, full address, label margins, matching fields, company name, paragraph formatting

Answers

Answer:

previewing

postal code

full address

matching fields

company name

Explanation:

the person above me is correct and should be given brainliest :)

Some options that are available when inserting an address block are as follows:

Postal code.Full address.Matching fields.Company name.

What is meant by Address bock?

Address block may be defined as the complete address which significantly consists of Address Lines 1 through 5 as well as City, State, along with ZIP code.

According to the context of this question, there are more than two components of the address block. One typically includes the landmark and the other corresponds to the ZIP code.

Within these two components, full address and matching fields are also included under them. A Company name is something that gives the person a more clear understanding of the address block.

Therefore, the correct options for this question are B, C, E, and F.

To learn more about Address block, refer to the link:

https://brainly.com/question/14183962

#SPJ5

Hi Alaza, when you submit this form, the owner will be able to see
1. What is the trick for learning the homerow keys? L
Please excuse my dear aunt Salley?
All ships do float Just Keep Looking

Answers

Answer:

It is "All ships do float just keep looking"

Explanation:

- Look at your qwerty keyboard, the homerow keys are ASDF(gh)JKL;

- I put gh in parenthathese because you don't  rest your fingers on them.

- Please excuse my dear aunt salley is an acronym to remember PEMDAS, which is order of operations.

Answer:

All ships do float Just Keep Looking

Explanation:

What is the name of a feature that can be used to insert special
characters or symbols?
O Automatic Correct
O Automatic Symbol
O Automatic Substitution
O Automatic Character

Answers

Answer: Automatic substitution

Explanation:

Explain 2 types
of languages
used
For creating and
manipulating
the data in
database

Answers

Answer:

DDL and DML statements are used for creating and manipulating the data in databases. SQL commands are commonly used for creation and manipulation of data in database. SQL commands are of four types DDL, DML, DCL and TCL

Explanation:

what is the chrmical bond of water​

Answers

hydrogen 2 oxygen 1 (h2O)
the answer is H2o :)

help help help help ​

Answers

Answer:

My explanation is above my comment :)

Explanation:

how can I create a pluralsite account for free to sign in​

Answers

Answer:

I mean I need points but I'm not sure my advice is to look it up or look on y0utube : )

Explanation:


3. Why did Steve Jobs and Steve Wozniak start working on developing computers?

Answers

Jobs was less hands-on when it came to developing computer software, and instead focused on design, advertising and talking to press, Wozniak said. “One thing he wanted was to somehow be important in the world, though he didn't have the academic or business, background, he had me,” he said.

If a computer is not working properly,the best thing to do is ________?

A. Start working on it

B. Unplug it and plug it back in

C.report the issue to the teacher

Answers

I think that its C. Report the issue to the teacher.
C report it to the teacher or if ur at home b unplug it

how many computers are hacked every year

Answers

Only in 2017 ALONE, there were more than 317 million new pieces of malware – computer viruses or other malicious software created. :(

Answer:

Well NSA Data Center Experiencing 300 Million Hacking Attempts Per Day – The Council of Insurance Agents & Brokers. So that would round up to about 109,500,000,000

Explanation:

Because 300 million times how many days in a year witch is about 365 days in a year will equal a total of 109 billion 500 million computers hacked each year 109,500,000,000.

Why are the READ and DATA statements used
together?​

Answers

Explanation:

DATA statements are used in conjunction with READ statements. Together they assign numbers or strings to variable names.

Use the drop-down menus to correctly complete these sentences about common data types.
A variable that is used in programming and can hold a true or false value is a(n)
data type.
data
A variable that can hold a mixed sequence of letters and numbers is a(n)
type.
A variable that can hold positive or negative whole-number values is a(n)
data type.
A variable that can be used with moveable decimal points is a(n)
data type.
DONE

Answers

Answer: Boolean, alphanumeric string, integer, floating-point number

Explanation: cuz I got it right

Answer: Boolean, alphanumeric string, integer, floating-point number

Explanation: cuz I didnt get it right

why is data processing done in computer

Answers

Answer:

Explanation:

Data processing occurs when data is collected and translated into usable information. Usually performed by a data scientist or team of data scientists, it is important for data processing to be done correctly as not to negatively affect the end product, or data output.Any use of computers to perform defined operations on data can be included under data processing.

HELP

Many software companies provide direct [-insert answer-] for customers using live chat, e-mail, Face book, Tw itter, and/or telephone.

Answers

Answer:

true

Explanation:

Answer

Assistance

Explanation:

Hi I paid for brainy plus, but it says the it can't renew and try paying for it again but it won't work. Please help

Answers

Answer:

Contact CS, ( customer support ) They should be able to help you. Go to this link for more info. https://brainly.com/contact/index

Explanation:

Linux would be a good example of?

Answers

open source software

Sami is creating a web page for her dog walking business. Which item will set the theme for her page? Background color Heading color Link color Text color

Answers

Answer:

A Background color

Explanation:

If a line of code creates an integer variable and the user enters 3.4, what will happen? a) a syntax error b) a value error c) no error d) a float error

Answers

Answer:

No error

Explanation:

Required

Determine what happens when the given scenario happens

When the given scenario occurs, the translator erases the fractional part of the input and saves only the integer part into the declared variable

Take for instance, the following code segment written in c++

int anum ;

cin>>anum ;

cout<<anum ;

Assume the user input is 3.4, the compiler prints out 3 leaving out the .4

Please note that; this may not be applicable for all programming languages; However, the above illustration is so in most cases

Chunking is a good strategy for completing large assignments because it makes the work
less boring
more thorough
less difficult.
O more manageable

Answers

Answer:

D. more manageable

Explanation:

it wouldn't make the work less boring, wont make work less difficult and and it wont help u get more through quicker

Answer:

its d

Explanation:

A client wants you to create a leaderboard banner ad for a website. The standard size of a leader-board banner in 728 pixels wide and 90 pixels tall. Of a computer display is 72 dip, how large is the leader-board banner in inches?

Answers

I’m pretty sure it’s

323.7795

Explanation:
I used pixelcalculator.com

list and define the three components of the network infrastructure.

Answers

Do you have picture so i can answer it

Answer:

1-Routers and switches

2-Firewalls

3-Load balancers

What is the base of a number system?

Answers

A number base is the number of digits or combination of digits that a system of counting uses to represent number. The most commonly used number system is the decimal system, commonly known as base10.

Describe one activity that belongs to the organizing phase software engineering.

Answers

Answer:

Initiation

Explanation:

The initiation phase typically begins with the assignment of the project manager and ends when the project team has sufficient information to begin developing a detailed schedule and budget. Activities during the initiation phase include project kickoff meetings, identifying the project team, developing the resources needed to develop the project plan, and identifying and acquiring the project management infrastructure (space, computers).

2.7 code practice question 1 edhesive

Answers

I will edit this if you edit your question..

Im confused. This is not a question..

There’s is no question so I can answer edit it and I will come back to answer your question

Lifelong learning _____. is only important for professionals with advanced degrees can be formal or informal includes formal classroom training only stops when your career is over

Answers

Answer:

can be formal or informal

Explanation:

I just took the test!

Lifelong learning can be formal or informal. The correct option is B.

What is lifelong learning?

Lifelong learning, which can be formal or informal and might include formal classroom instruction, is only important for professionals with advanced degrees.

The pursuit of information for personal or professional goals that is "ongoing, voluntary, and self-motivated" is referred to as lifelong learning. Increased employability, competitiveness, and a sense of personal development are its key advantages for students.

The continuous, voluntary, and self-driven pursuit of information for either personal or professional objectives is referred to as lifelong learning. In addition to promoting social engagement, active citizenship, and personal growth, it is crucial for a person's competitiveness and employment.

Therefore, the correct option is B. can be formal or informal.

To learn more about lifelong learning, refer to the link:

https://brainly.com/question/9089104

#SPJ2

A golf ball is at rest on the grass. What must happen to cause the ball to move?

Answers

It would be friction
Hitting the ball will create friction!

Answer:

An unbalanced net force must be applied.

Explanation:

SOMEONE HELP ME ITS KINDA EASY

Answers

Answer:

USB COMPUTER, CONTROL,COMPUTER, ECT ECTT

Explanation:

Ben sends a few emails over the weekend to his relatives. Where should Ben place his laptop so that he can avoid slouching while typing the emails?
A.
on a bed
B.
on a couch
C.
on the desk
D.
on the floor

Answers

Answer:

C. obviously its the most stable think.

Explanation:

Answer:

On the desk

Explanation:

Plato

what are the five types of docs you can create an share with google docs

Answers

Answer:

Documents: For composing letters, flyers, essays, and other text-based files (similar to Microsoft Word documents)

google sheets logo Spreadsheets: For storing and organizing information (similar to Microsoft Excel workbooks)

google slides logo Presentations: For creating slideshows (similar to Microsoft PowerPoint presentations)

google forms logo Forms: For collecting and organizing data

google drawings logo Drawings: For creating simple vector graphics or diagrams

Explanation:

Answer:

Documents

spreadsheets

drawings

forms

presentations

Explanation:

What are some options available in the Spelling and Grammar Checker? Check all that apply.

Answers

Answer:

A, C, D, G, H

Explanation:

Edge 2020

Answer: C, D, F

Explanation:

Just took it

Other Questions
Calvin practiced converting standard notation to scientific notation by completing the 10 problemsin the table shown. Unfortunately, his teacher noticed Calvin made mistakes on 7 out of the 10problems. Find his mistakes and correct them in the second table below.STANDARD NOTATIONSCIENTIFIC NOTATION1) 76,450,0007.645 x 102) 0.0003273.27 x 1043) 34,0003.4 x 1044) 116,000,000,0001.16 x 105) 0.02424 x 106) 2,8002.8 x 107) 1001 x 108 0.00000999.9 x 109 C00,0009 x 1010) 0.0063563.3 x 10I please help my brain cant comprehend anything right now What do you prefer: online classes pe face to face? Why?Urgent!! Dau coroana!!! sarah performs an experiment to determine the effect of nitrogen on plants. she studies the effect of nitrogen on the growth of the root hair, height of the plants, and nodule formation. which factor is an independent variable? Mary Parker Follett felt that managers should act as ______ rather than dictators. What is one conclusion that can be drawn about O. Henrys own life from the article? What is the answer obtained by multiplication Solve for the variable. Show all work. |6x| - 8 = -8 What is constant velocity in comparison to instantaneous velocity?Will give Brainliest to the one that shows great effort with a correct answer. In 1453 AD the Byzantine Empire fell to the Turks,In the sentence above the word fell to means ? nations calls itself a republic but lacks many of the characteristics of a real republic? If this excerpt were rewritten to reflect modern English usage, whichwords would most likely be replaced? Choose two options.A. benediction (line 2)B. foolish (line 4)Cmethinks (line 8)D. ignorant (line 9)E be (line 15)noFcause (line 19) Where do exotic species tend to cause the most problems? Question 21 ptsWhat is the inverse relation of the function whose equationis y = 3x 2?oy = xo y = 3x + 2o y = 2x - 3x + 2y =3 What is the value of the expression? A 4-year project has an annual operating cash flow of $51,000. At the beginning of the project, $4,200 in net working capital was required, which will be recovered at the end of the project. The firm also spent $22,300 on equipment to start the project. This equipment will have a book value of $4,620 at the end of the project, but can be sold for $5,640. The tax rate is 40 percent. What is the Year 4 cash flow How can historical thinking skills and processes allow you to build a persuasive argument? A(n)_____a0 is a misunderstanding; a mistaken thought or idea. what is .253 repeating as a fraction Solve for x.8x = 42 - 32O x = 8O x = 4O r=-4O = -8