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
Keith_Richards [23]
3 years ago
11

Consider the following code segment.

Computers and Technology
1 answer:
MAXImum [283]3 years ago
5 0

Answer:

Lines 1 and 3

Explanation:

For line 1, without putting the asterisk in single or double quote marks, the compiler will assume that the asterisk is the multiplication sign. This causes the error since no numbers are being multiplied. If an argument (in this case the asterisk) is passed into the print function, given that it is not a method, string or character, in most cases, the compiler assumes it is an arithmetic operation

For line 3, to print an empty space, you can use System.out.println(' ') or System.out.println(" "). Writing line 3 the way you did gives an error because nothing was passed in the print argument, so the compiler will not be able to identify what you are trying to print.

You might be interested in
Which futures would work well for text entered into cells check all that apply
Vikki [24]

Answer:

this is no image for me to see to to do

Explanation:

7 0
4 years ago
There is one clear definition of IT. True False
Elenna [48]

Answer:

That is False. it has more definitions not only one.

8 0
3 years ago
Disadvatage of using a computer when you don't have knowledge about it​
shtirl [24]

If you mean you have no knowledge of the subject you're supposed to be researching, than that's the disadvantage, because you will have many,many different pages for what the search engines can relate what you're searching on to what it hints will help.

Disadvantages of using a computer when you don't know how to use a computer.

You don't know how to use a computer.

7 0
4 years ago
You want to draw a rectangle over the moon you added to your slide and then move it behind the moon. You want it to look like a
Ray Of Light [21]
I choose Home and it’s a good thing to have
5 0
3 years ago
.…………….. Are devices that routepackets of data between two or more networks.
Masja [62]

Answer: Routers

Explanation:

Routers are the device that route packets of data between two or more networks as, core router is that which transmitted data from the other router and route packets based on the network information layers and can forward the other packets based on the data link layers information, the layer on which the bridges are operated.

8 0
4 years ago
Read 2 more answers
Other questions:
  • Which of the following cannot be copyrighted? a. books b. inventions c. videos d. music
    7·1 answer
  • Objects of the calculator class require no additional information when created. define an object named calc, of type calculator.
    14·2 answers
  • One of the biggest changes to affect the internet will be the continuing adoption of a new version of the internet protocol, ver
    5·1 answer
  • Scanning low allows you to locate __________ before you hit them
    13·1 answer
  • What kind of files are automatically blocked in outlook?
    7·1 answer
  • True or False: VLANs in cloud computing are most likely to be found on direct connections with a CSP.
    9·1 answer
  • To manage OpenLDAP policies over Command Line Interface (CLI), a certain type of file is needed. What is this type of file calle
    7·1 answer
  • The set Canvas.PaintColor to block sets the paint color for the _____ .
    5·1 answer
  • Identifiy the impact of new technology for your organizations <br>​
    13·1 answer
  • Complete each sentence. To add a graphic to a Word document, start by clicking the tab. Next, click . Then, navigate to the grap
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!