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 35 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
Wow, this really help


milbourne11

  • Member
  • Posts: 322
Reply 3 on: Yesterday
Thanks for the timely response, appreciate it

 

Did you know?

Your skin wrinkles if you stay in the bathtub a long time because the outermost layer of skin (which consists of dead keratin) swells when it absorbs water. It is tightly attached to the skin below it, so it compensates for the increased area by wrinkling. This happens to the hands and feet because they have the thickest layer of dead keratin cells.

Did you know?

Between 1999 and 2012, American adults with high total cholesterol decreased from 18.3% to 12.9%

Did you know?

Your heart beats over 36 million times a year.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

Earwax has antimicrobial properties that reduce the viability of bacteria and fungus in the human ear.

For a complete list of videos, visit our video library