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 33 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


flexer1n1

  • Member
  • Posts: 373
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?

Nitroglycerin is used to alleviate various heart-related conditions, and it is also the chief component of dynamite (but mixed in a solid clay base to stabilize it).

Did you know?

A seasonal flu vaccine is the best way to reduce the chances you will get seasonal influenza and spread it to others.

Did you know?

Acetaminophen (Tylenol) in overdose can seriously damage the liver. It should never be taken by people who use alcohol heavily; it can result in severe liver damage and even a condition requiring a liver transplant.

Did you know?

Egg cells are about the size of a grain of sand. They are formed inside of a female's ovaries before she is even born.

For a complete list of videos, visit our video library