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

Author Question: To divide BigDecimal b1 by b2 and assign the result to b1, you write ________. (Read 77 times)

tsand2

  • Hero Member
  • *****
  • Posts: 520

Question 1

What is the output of the following code?

public class Test {
public static void main(String[] args) {
java.math.BigInteger x = new java.math.BigInteger("3");
java.math.BigInteger y = new java.math.BigInteger("7");
x.add(y);
System.out.println(x);
}
}

◦ 10
◦ 3
◦ 11
◦ 4

Question 2

To divide BigDecimal b1 by b2 and assign the result to b1, you write ________.
◦ b1 = b2.divide(b1);
◦ b2.divide(b1);
◦ b1 = b1.divide(b2);
◦ b1.divide(b2);


Related Topics

Need homework help now?

Ask unlimited questions for free

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

ndhahbi

  • Sr. Member
  • ****
  • Posts: 390
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




tsand2

  • Member
  • Posts: 520
Reply 2 on: May 6, 2020
Thanks for the timely response, appreciate it


LVPMS

  • Member
  • Posts: 323
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

Adolescents often feel clumsy during puberty because during this time of development, their hands and feet grow faster than their arms and legs do. The body is therefore out of proportion. One out of five adolescents actually experiences growing pains during this period.

Did you know?

The Centers for Disease Control and Prevention (CDC) was originally known as the Communicable Disease Center, which was formed to fight malaria. It was originally headquartered in Atlanta, Georgia, since the Southern states faced the worst threat from malaria.

Did you know?

There are over 65,000 known species of protozoa. About 10,000 species are parasitic.

Did you know?

Side effects from substance abuse include nausea, dehydration, reduced productivitiy, and dependence. Though these effects usually worsen over time, the constant need for the substance often overcomes rational thinking.

Did you know?

Signs of depression include feeling sad most of the time for 2 weeks or longer; loss of interest in things normally enjoyed; lack of energy; sleep and appetite disturbances; weight changes; feelings of hopelessness, helplessness, or worthlessness; an inability to make decisions; and thoughts of death and suicide.

For a complete list of videos, visit our video library