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 80 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
:D TYSM


milbourne11

  • Member
  • Posts: 322
Reply 3 on: Yesterday
Gracias!

 

Did you know?

More than nineteen million Americans carry the factor V gene that causes blood clots, pulmonary embolism, and heart disease.

Did you know?

After 5 years of being diagnosed with rheumatoid arthritis, one every three patients will no longer be able to work.

Did you know?

Oxytocin is recommended only for pregnancies that have a medical reason for inducing labor (such as eclampsia) and is not recommended for elective procedures or for making the birthing process more convenient.

Did you know?

The toxic levels for lithium carbonate are close to the therapeutic levels. Signs of toxicity include fine hand tremor, polyuria, mild thirst, nausea, general discomfort, diarrhea, vomiting, drowsiness, muscular weakness, lack of coordination, ataxia, giddiness, tinnitus, and blurred vision.

Did you know?

Eating food that has been cooked with poppy seeds may cause you to fail a drug screening test, because the seeds contain enough opiate alkaloids to register as a positive.

For a complete list of videos, visit our video library