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
Lemur [1.5K]
3 years ago
10

What is output with the statement System.out.println(x+y); if x and y are int values where x=10 and y=5? Group of answer choices

15 105 10 5 x+y An error since neither x nor y is a String
Computers and Technology
1 answer:
makkiz [27]3 years ago
4 0

Answer:

15

Explanation:

Java's output statement can be used to print String values when the are enclosed in a pair of quotations marks (" "). Given that the values x =10 and y=5 have been declared as integers, the statement:

System.out.println(x+y); will output 10+15 = 15

On the other hand consider if these variables x and y were declared as Strings like this;

String x="10";

String y ="5";

Then the output of the statement System.out.println(x+y); will be 105

You might be interested in
 A number of companies and/or agencies, such as National ____ and Atmospheric Administrationâs National Weather Service, provid
LekaFEV [45]

Answer: D) Oceanic

Explanation:

National oceanic and the atmospheric administration (NOAA)are the national weather services which basically provide the weathering conditions and forecast them on their particular websites.

NOAA is basically responsible for monitoring or environment and climate. this agency is situated in the united state at washington headquarter. It also helps to preserve the climate by taking some effective steps for our environment.  

4 0
4 years ago
the part of the computer that contains the brain , or central processing unit , is also known the what ?
julia-pushkina [17]

Answer:

system unit

Explanation:

A system unit is the part of a computer that contains the brain or central processing unit. The primary device such as central processing unit as contained in the system unit perform operations hence produces result for complex calculations.

The system unit also house other main components of a computer system like hard drive , CPU, motherboard and RAM. The major work that a computer is required to do or performed is carried out by the system unit. Other peripheral devices are the keyboard, monitor and mouse.

5 0
4 years ago
Pls help.
melisa1 [442]

Answer:

First one would be work ethic.

Second one would be communication.

Third one would be adaptability.

Fourth one would be creativity.

(These are all guesses tho, so i'm not 100% sure !!)

Explanation:

6 0
3 years ago
Read 2 more answers
Learning in a digital environment is also called learning.
aleksandrvk [35]

Learning in a digital environment is also called O<u>nline Learning.</u>

Explanation:

The main difference between the digital learning and the traditional form of learning is that

  • Digital Learning takes place online or virtually.
  • The traditional Learning is conducted in a classroom building.
  • Another factor that differentiate the 2 forms of learning is that the instructor or the trainer may not be present at the real-time but in a traditional training method the trainer or the instructor is present in person
6 0
4 years ago
Read 2 more answers
The which command _________________. a. can only be used to search for executables b. searches for a file in all directories sta
dsp73
Answer: D. Searches for a file only in the directories that are in the path variable
6 0
2 years ago
Other questions:
  • Why is it important to save a print copy of electronic sources?
    6·1 answer
  • Who are some of my emails not all deleting on my android i have to use my laptop to see them to delete them?
    12·2 answers
  • The internet has opened a wide range of new opportunities for small businesses. true or false?
    13·1 answer
  • if image size and resolution are the same, which file format, .jpg, .gif, .or .tiff, will give you the smallest file size?
    8·2 answers
  • Which is an example of correct HTML? &lt;h1&gt; This is a heading&lt;/h1&gt;
    9·2 answers
  • Which of the following statements is NOT true regarding the Security Configuration and Analysis (SCA) tool?
    12·1 answer
  • What do you understand by storage devices ? Name any two storage devices.​
    11·2 answers
  • List 10 ways how can graphic design help the community
    13·1 answer
  • DOES ANYONE KNOW COMPUTER SCIENCE?
    8·1 answer
  • Universal containers wants internal support requests to be directed to any of the IT reps. They want external support requests t
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!