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


Alyson.hiatt@yahoo.com

  • Member
  • Posts: 354
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Despite claims by manufacturers, the supplement known as Ginkgo biloba was shown in a study of more than 3,000 participants to be ineffective in reducing development of dementia and Alzheimer’s disease in older people.

Did you know?

Liver spots have nothing whatsoever to do with the liver. They are a type of freckles commonly seen in older adults who have been out in the sun without sufficient sunscreen.

Did you know?

People often find it difficult to accept the idea that bacteria can be beneficial and improve health. Lactic acid bacteria are good, and when eaten, these bacteria improve health and increase longevity. These bacteria included in foods such as yogurt.

Did you know?

The most destructive flu epidemic of all times in recorded history occurred in 1918, with approximately 20 million deaths worldwide.

Did you know?

Many of the drugs used by neuroscientists are derived from toxic plants and venomous animals (such as snakes, spiders, snails, and puffer fish).

For a complete list of videos, visit our video library