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 79 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
YES! Correct, THANKS for helping me on my review


epscape

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

 

Did you know?

The eye muscles are the most active muscles in the whole body. The external muscles that move the eyes are the strongest muscles in the human body for the job they have to do. They are 100 times more powerful than they need to be.

Did you know?

Eating carrots will improve your eyesight. Carrots are high in vitamin A (retinol), which is essential for good vision. It can also be found in milk, cheese, egg yolks, and liver.

Did you know?

The B-complex vitamins and vitamin C are not stored in the body and must be replaced each day.

Did you know?

The effects of organophosphate poisoning are referred to by using the abbreviations “SLUD” or “SLUDGE,” It stands for: salivation, lacrimation, urination, defecation, GI upset, and emesis.

Did you know?

Intradermal injections are somewhat difficult to correctly administer because the skin layers are so thin that it is easy to accidentally punch through to the deeper subcutaneous layer.

For a complete list of videos, visit our video library