This topic contains a solution. Click here to go to the answer

Author Question: To declare an int variable number with initial value 2, you write ________. (Read 24 times)

rl

  • Hero Member
  • *****
  • Posts: 579

Question 1

The ________ method returns a raised to the power of b.
◦ Math.pow(b, a)
◦ Math.exponent(a, b)
◦ Math.pow(a, b)
◦ Math.power(a, b)

Question 2

To declare an int variable number with initial value 2, you write ________.
◦ int number = 2.0;
◦ int number = 2l;
◦ int number = 2L;
◦ int number = 2;


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by rl on May 6, 2020

fur

  • Sr. Member
  • ****
  • Posts: 309
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 29% of students answer this correctly




rl

  • Member
  • Posts: 579
Reply 2 on: May 6, 2020
:D TYSM


vickyvicksss

  • Member
  • Posts: 351
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

According to research, pregnant women tend to eat more if carrying a baby boy. Male fetuses may secrete a chemical that stimulates their mothers to step up her energy intake.

Did you know?

Asthma-like symptoms were first recorded about 3,500 years ago in Egypt. The first manuscript specifically written about asthma was in the year 1190, describing a condition characterized by sudden breathlessness. The treatments listed in this manuscript include chicken soup, herbs, and sexual abstinence.

Did you know?

The term bacteria was devised in the 19th century by German biologist Ferdinand Cohn. He based it on the Greek word "bakterion" meaning a small rod or staff. Cohn is considered to be the father of modern bacteriology.

Did you know?

Medication errors are more common among seriously ill patients than with those with minor conditions.

Did you know?

The oldest recorded age was 122. Madame Jeanne Calment was born in France in 1875 and died in 1997. She was a vegetarian and loved olive oil, port wine, and chocolate.

For a complete list of videos, visit our video library