int x = 128; System.out.println(x); //line1

x = -98; System.out.println(x); //line2

byte b = 24; System.out.println(b); //line3

char c = 97; System.out.println(c); //line4

double d = 9.9; System.out.println(d); //line5

d = 5.2; System.out.println(d); //line6

float f = 9.87f; System.out.println(f); //line7

short s = 350; System.out.println(s); //line8

int z = 'A'+5; System.out.println(z); //line9

c = 'A'+5; System.out.println(c); //line10

double w = 'a'+5; System.out.println(w); //line11

long u = 'A'-48; System.out.println(u); //line12

w = f+5; System.out.println(w); //line13

b = (byte)x; System.out.println(b); //line14

w = 'A' * 2.0; System.out.println(w); //line15

f = w; System.out.println(f); //line16

s = c; System.out.println(s); //line17
z = w; System.out.println(z); //line18

Answers

Answer 1

Answer:

im sorry but im a bit lost, could you help me answer your question in the comments

Answer 2

If this code is executed, the following will be printed:

128

-98

24

a

9.9

5.2

9.87

350

70

F

102.0

65

14.34

-98

65.0

65.0

65

65.0

What is the explanation of the above mentioned code?

On line 1, the value 128 is assigned to the integer variable x, and this value is printed.On line 2, the value -98 is assigned to x, and this value is printed.On line 3, the value 24 is assigned to the byte variable b, and this value is printed.On line 4, the value 97 is assigned to the char variable c, and the character 'a' is printed.On line 5, the value 9.9 is assigned to the double variable d, and this value is printed.On line 6, the value 5.2 is assigned to d, and this value is printed.On line 7, the value 9.87 is assigned to the float variable f, and this value is printed.On line 8, the value 350 is assigned to the short variable s, and this value is printed.On line 9, the value 'A'+5 is assigned to the integer variable z, and the value 70 is printed.On line 10, the value 'A'+5 is assigned to c, and the character 'F' is printed.On line 11, the value 'a'+5 is assigned to the double variable w, and the value 102.0 is printed.On line 12, the value 'A'-48 is assigned to the long variable u, and the value 65 is printed.On line 13, the value f+5 is assigned to w, and the value 14.34 is printed.On line 14, the value of x is cast to a byte and assigned to b, and the value -98 is printed.On line 15, the value 'A' * 2.0 is assigned to w, and the value 65.0 is printed.On line 16, the value of w is assigned to f, and the value 65.0 is printed.On line 17, the value of c is assigned to s, and the value 65 is printed.On line 18, the value of w is cast to an integer and assigned to z, and the value 65 is printed.

Learn more about coding, here:

https://brainly.com/question/17204194

#SPJ2


Related Questions

HELLP ASAP

1. What are air pressure, wind, cloud cover, precipitation, and temperature called?

A. elements of climate


B. elements of weather


C. elementary aspects


D. elevation pressure

Answers

Answer:

your answer is B, it is part of the weather cycle and water cycle, give me a Brainliest if correct and have a good day:)

Explanation:

The answer would be B.

What theory’s/ideas challenge natural selection? In other words, what disproves natural selection?

Answers

Answer:

Natural selection needs some starting material, and that starting material is heritable variation. For natural selection to act on a feature, there must already be variation (differences among individuals) for that feature. Also, the differences have to be heritable, determined by the organisms' genes.

What do codons in DNA code for?

Answers

Answer:

mRNA and then amino acids

Explanation:

Codons are triplets (3) bases that code for defined amino acid sequences.

DNA is transcribed into mRNA. The mRNA codons are then translated into amino acid chains that form proteins.

Each codon codes for an amino acid, which is brought to the growing polypeptide chain by tRNAs via complementary base pairing.

ANSWER QUICK PLS I WILL GIVE BRAINLYIST

At what point should health officials have started to control the spread of Ebola in West Africa? It needs to be an essay.

Answers

I think health officials should have started to control when more people started getting sick . When people starting dying and causing a outbreak it should of went under a health check . The people in west Africa should have stayed home and quarantined there selves and waited until things got better .

Which of the following is not the wave of the future in the medical field?
O robots
O cameras
O computers
O engines

Please help!!!!!!

Answers

I think it’s engines
I believe the answer is D

How are some protists like plants

Answers

Answer:

Plant-like protists are autotrophs. This means that they produce their own food. They perform photosynthesis to produce sugar by using carbon dioxide and water, and the energy from sunlight, just like plants. ... Protists can be unicellular (single-celled) or multicellular (many-celled).

Explanation:

I took the same test on this

Hellllpppp meeeeeeeeeee

Answers

Answer:

D.

Explanation:

Feel free to give brainliest.

Have a great day, Sleepy and Maisie. Same thing goes for everyone else.

When a pinecone is open, it disperses its seeds. Based on your experiment, can you tell what weather conditions are needed for pine trees to release their seeds? Explain your answer.

Answers

Answer:

If a pine seed finds the right micro-climate, it will eventually sprout and a pine seedling will start to grow. However, pine seeds are usually released in a dormant state, which is most often broken by cold stratification. As a result, a pine seed will not sprout until the following spring when warm weather and some spring moisture are present.

Explanation:

hope it helps

Answer:

hi

Explanation:

What types of organisms have mitochondria

Answers

Answer:

sup ._.

Explanation:

The mitochondrion (/ˌmaɪtəˈkɒndrɪən/, plural mitochondria) is a semi autonomous double-membrane-bound organelle found in most eukaryotic organisms. Some cells in some multicellular organisms may, however, lack mitochondria (for example, mature mammalian red blood cells). A number of unicellular organisms, such as microsporidia, parabasalids, and diplomonads, have also reduced or transformed their mitochondria into other structures.

hope this helps

Which of the following can occur because of the exchange of homologous chromosome parts during the process of meiosis?

Answers

Answer:

Muttation can occur during the exchange of genetic meterial from homologous chromosomes which may led to cause deseases in some cases.

Explanation:

Homologous chromosomes exchange genetic material during the process of meiosis.

What is Meiosis?

Meiosis is a type of cell division in which germ cells present in the sexually-reproducing organisms produces the gametes, such as sperm or egg cells. It involves two rounds of division which results in four cells with only one copy of each chromosome.

These four cells are haploid in nature. Meiosis produces the sex cells or gametes like eggs in females and sperm in males.

Meiosis is divided into nine stages. These are divided between the first time the cell divides (meiosis I) and the second time it divides (meiosis II).

Thus, homologous chromosomes exchange genetic material during the process of meiosis.

Learn more about Meiosis, here:

https://brainly.com/question/29383386

#SPJ6

whats better
kirby
or
Zelda
franchise ​

Answers

Answer:

kirbyyyyyyyyyyyyy

Explanation:

:DDDDDD

Answer:

i think kirby bc he cyute <(^.^)^

Explanation:

zelda franchise for sum action and stuff

What type of research method would best answer the question “How many rivers in Florida have nitrate pollution in them?”

Answers

Answer:

Field study

Explanation:

I took the quiz and got it right. Hope this helps :)

The type of research method that would best answer the given question is field study. The correct option is C.

What is field study?

Field studies are research activities that take place outside of your office or lab, in the context of the user.

There are numerous field-study methods and activities to choose from. Field studies also differ significantly in terms of how the researcher interacts (or does not interact) with participants.

Field research is a qualitative research method that involves observing and interacting with people in their natural settings in order to understand and interpret the social interactions of groups of people, communities, and society.

Field studies provide students with first-hand experiences that promote critical thinking, long-term retention, transferability, positive attitudes toward science, appreciation for nature, and increased scientific curiosity.

Field study is the type of research method that would best answer the given question "How many rivers in Florida have nitrate pollution in them?”

Thus, the correct option is C.

For more details regarding research study, visit:

https://brainly.com/question/28446342

#SPJ2

Your question seems incomplete, the missing options are:

A. relational study

B. cause and effect study

C. field study

Why might a company decide against using hydroelectric Energy as an alternative energy source

A. Gathering it requires pulling from unclean sources

B. Gathering it creates noise pollution for surrounding areas

C. Gathering it releases carbon dioxide gases into the air

D. Gathering it can have a negative affect on natural habitats

Answers

The company's decision against using hydroelectric Energy as an alternative energy source might be Gathering it can have a negative affect on natural habitats.

Why is hydroelectric power not a good energy source?

Hydropower can also cause environmental and social problems. Waterholes drastically change the landscape and rivers they are built on. Dams and reservoirs can decrease river flows, raise the water temperature, degrade water quality and cause sediment to build up. This has negative impacts on fish, birds and other wildlife.

Thus, the correct option is "D".

To learn more about hydroelectric power click here:

https://brainly.com/question/11516994

The fact that whales have a pelvis is which type of evolutionary evidence?

Answers

Answer:

Anatomical Evidence

Explanation:

The pelvic bones in whales are a good example of evolutionary anatomical evidence shown by vestigial evolution where whales evolved from four-legged land mammals and secondarily lost their hind legs.

How many moles are in 15 grams of Lithium?
2.16 grams
104.1 moles
2.16 moles
104.1 grams

Answers

There are 2.16 moles of lithium in 15 grams. Look at the periodic table to find the molar mass.

Explain how the electron transport chain makes ATP.

Answers

Answer:

t

Explanation:

While Glycolysis and the Citric Acid Cycle make the necessary precursors, the electron transport chain is where a majority of the ATP is created. The Electron Transport Chain makes energy ... At the end of the chain the electrons are taken up by oxygen molecules to make water. This is why oxygen is known as the final electron acceptor.

Answer:

Explanation:

during electron transport, energy is used to pump hydrogen ions across the mitochondrial inner membrane, from the matrix into the intermembrane space. A chemiosmotic gradient causes hydrogen ions to flow back across the mitochondrial membrane into the matrix through ATP synthase, producing ATP

15. When red blood cells mature, most of the organelles are removed to make space for as many hemoglobin molecules as possible. The removal of the nucleus would also result in the removal of the cell’s
A ribosomes B genetic material C proteins D outer membrane

Answers

Answer:

I think the answer will be genetic material.

Explanation:

because genetic material is present in cell nucleus and if nucleus is removed than genetic material will automatically remove.

Which statement about the structure of organic molecules is true
1. DNA contains fatty acid chain
2. Lipids are composed of Amino acids
3. Proteins are composed of nucleotides
4. Carbohydrates contain monosaccharide units

Answers

Answer: The answer is D

Explanation:

The statement which is true about the structure of organic molecules is as follows:

Carbohydrates contain monosaccharide units.

Thus, the correct option for this question is D.

What do you mean by Organic molecules?

Organic molecules may be defined as those molecules that are correspondingly made of carbon and hydrogen. It can also include other elements like oxygen, sulfur, nitrogen, etc. It must contain carbon atoms covalently bonded to hydrogen atoms (C-H bonds).

DNA possesses monomeric units known as nucleotides. Lipids are the derivatives of fatty acids. While proteins are composed of building blocks that are known as amino acids.

On the other hand, carbohydrates are derived from monosaccharide units that are togetherly held by glycosidic linkage.

Therefore, carbohydrates contain monosaccharide units is a statement that is true about the structure of organic molecules. Thus, the correct option for this question is D.

To learn more about Carbohydrates, refer to the link:

https://brainly.com/question/20290845

#SPJ6

does any one know whats wrong with my foot it has been in constant pain since yesterday now i dont know if it is a sprain or what plz help im in constant pain now i can hardly walk it is the long near the big toe right in the center of the long bone conecting to my ankle plz i need to know if i need to go to doctor.

Answers

Answer:

Yes. You need to go to the doctor.

Explanation:

Your foot could be doing this because the bone itself could be bruised or else it somehow got injured or is in some other type of pain.  

What's the interaction of tissues and organs within the circulatory system

Answers

Answer:

The cardiovascular or circulatory system is designed to ensure the survival of all cells.

Explanation:

Which characteristics or structures from the list are found in plant cells? Select all that apply.

nucleus
chloroplast
irregular shape
cell wall
tiny storage vacuoles
cell membrane
Plz help :X

Answers

Answer:

nucleus,chloroplast,cell wall, cell membrane

Explanation:

What is the charge of the outside of the DNA molecule?

Answers

Answer:

It has an alternating chemical phosphate and sugar backbone, making the 'sides' of the ladder. (Deoxyribose is the name of the sugar found in the backbone of DNA.) In between the two sides of this sugar-phosphate backbone are four nitrogenous bases: adenine (A), thymine (T), cytosine (C), and guanine (G).

Explanation:

Negative charged hope this helped

A student observes that a popcorn kernel has a hard coat. He places the kernel in a moist paper towel and observes it for several days. He notices that the coat splits and a small root emerges. He concludes that—

water outside the seed coat exerted a pushing force, breaking the seed coat


air inside the seed coat exerted a pushing force, breaking the seed.



water outside the seed coat exerted a pulling force, breaking the seed coat.



gravity exerted a pulling force on the stem, breaking the seed coat.

Answers

Answer:

d

Explanation:

got it right on the test

Which of the following is created from amino acids linking together?

A. Carbon chains

B. Lipids

C. Polypeptide chains

D. Monomers

Answers

Polypeptide! They go along w amino acids put tg they create a polypeptide

What are two types of fermentation

Answers

Answer:

There are two types of fermentation: alcoholic fermentation and lactic acid fermentation.

Explanation: branilest plz

Please help me confused

Answers

Best choice is 2 but not sure
I am pretty sure it is option 2?

The characteristic of life that represents birds migrating to the south is

Answers

Answer:

Living things respond to their enviorment.

Explanation:

Hope that helped!

Difference between direct and indirect effect

Answers

Direct effects, as the name suggests, while not manipulated or communicated by a third party, deal with the direct influence of one entity on another. Indirect effects can be described as the influence, mediated or passed on by a third, of one organism or species on another.

Would you design cars with different masses or equal masses? Would you design your cars with high speeds or low speeds? Use Newton's Laws of motion to support your response.

Answers

Answer:

You can actually apply the same concept, obviusly you want the cars to be the same weight, and you want your cars to be not too fast, because of the same equation F=MA if the car is faster, is because it has higher acceleration, wich results in higher impact force.

Explanation:

What kingdom do the amoeba and paramecium belong?

Answers

Answer:

Protista

Explanation:

Both belong in the protista kingdom

Other Questions
Need help... will give brainliestWhen voters are able to cast their ballot for candidates from either political party, they are voting in a(n) _____ primary. According to Newton's 1st law of motion, . . . . .A . for every action, there is an equal and opposite reaction.B . force = mass * accelerationC . an object will remain at rest unless an external force acts upon it. HURRY I AM TIMED!!What is hidden curriculum? Give an example of something that might be part of educations hidden curriculum? Will give a Brainliest. An athlete thinks that she can exercise as long as she eats different types of food because her body just needs different types of food molecules to work properly. Is the athlete correct? Which of the following does not represent a function?PLEASE HELPP ME15 POINTS OR BRAINLIEST ?!?? How long did it take Humans to migrate to North America from Africa Butter is packed in 250g packs. What willthe moss, in pounds of a pack of butter? how does Merrill Matthews justify continuing the Electoral College? Note that most projection pages include other important races being voted on today. Why do those races matter? What are the larger implications of either party having a majority in the House? The Senate? When a person eats the yogurt, the 14 grams of protein will be A combined into monosaccharides. B combined into polysaccharides. C broken down into amino acids. D broken down into nucleic acids. Does the following represent a linear or exponential function? x 1 2 3 4 y 3 9 15 21 Which scenario best describes motion? A.) a toy train in position 4 on a number lineB.) a race track that is 100 meters longC.) a ball rolling from point A to point B D.) a student living 150 miles from Chicago What is an expression equivalent to 5x+10 using the distributive property? 7. The measure of two angles of a quadrilateral are 120 & 40 and the other two angles are equal, the measure of each of equal angles are10020050105 When the Bantu peoples spread throughout Africa South of the equator the different groups develop the diverse cultures and customs but retain closely relate language how does that compare to what happen when the Nubian civilization lost control of ancientEgypt and moved south to Mero PLEASE ANSWER QUICKHow can improving ones reasoning skills also improve ones performance on the job?A. If one can improve ones reasoning, one can also improve ones physical fitness and athletic performance.B. If one can improve ones reasoning, one can perform anything.C. High-performing workers always work reasonable schedules.D. High-performing workers are able to analyze sophisticated streams of data and solve complex problems. Rayna wants to create an organizational chart in her document. Which of the following commands should she click in the Illustrations group?ChartMediaScreenshotSmartArt who believes in love?? Which of the following regulates the International Monetary Fund?a. un b. international bankers association c. u.sd. international finance committee Which BEST describes the diction of "Give Me Liberty or Give Me Death"? A) elementary slang B) formal D) technical