What is the result of the following code fragment?
BigInteger a = new BigInteger ("10");
BigInteger b = new BigInteger ("25");
a.multiply(b);
a.add(b);
System.out.println(a);


A. 10
B. 35
C. 250
D. 275

Answers

Answer 1

Answer:

D

Explanation:

I don't know the language, but it is clear what is going on.

It looks like you are defining a value for a in both commands.

a.multiply(b); looks like you take the value in a (which is 10) multiply it by 25 and put the result back in a. So so far we have 10 * 25 = 250

Note the next command

a.add(b)

looks like you take the current value in a(which is now 250)

and put the value of b (which has not been changed. It is still 25) and put that in a (which is 250).

The result is 250 + 25 = 275

The answer is D. Since I only understand the logic, if this answer is wrong, I wish you'd leave a note.


Related Questions

What are the factors that affect self-confidence?

Answers

Answer:

The factors that affect self confidence are not having enough faith in yourself and letting what others say about you put you down

Explanation:

Plz mark brainlest it will help me so much

Select the correct answer.
What model defines data structures and expands software architecture and components?
OA.
architectural design model
OB.
data design model
O c.
interface design model
D.
component-level design model
Reset
Next

Answers

Answer: data design model

Explanation:

a person who creates a computer virus is called

Answers

Answer:

A person who creates computer virus is known as hacker.

Could someone please help?​

Answers

Answer:

it looks difficult

Explanation:

you can devotingly solve it

In your own words, describe invention.

Answers

Answer:

An invention is an action of doing or creating something. Typically, a process of something.

Explanation:

Hopefully, it helps!

Answer:

Creating something new

Explanation: Invention is something that you originally create and don't copy from anyone else. The microwave was invented in 1945 that changed of how people used kitchen appliances, invention is kinda just another word for creativity (since it's the process of it!)

Hope this helps and make sure to thank me!

Explanation:

How many decimals should we keep in electrical calculations?

Answers

Answer:

2 I think

Explanation:

6. A presentation is widely used to present and effectively​

Answers

Answer:

A Presentation is a collection of slides arranged in a systematic order. 2) A presentation ...

Explanation:

Please give thanks to all my answers and please mark as brilliant and please follow me

the manager of a xyz organisation is preparing the organizational chart which feature of MS Excel /he will use to do so? also write the steps for this​

Answers

Answer:

Smart Art

Explanation:

The smart art feature in Microsoft excel allows for the creation of organizational chart on Microsoft excel. It readily allows for an hierarchical arrangement of an organization's personnel including the various departments on the system. The smartart allows the implementation of a graphical output which allows the display of an organization's personnel in order of hierarchy. To get started with smart art on excel, Clicking on the insert tab, the same are appears under illustrations. For an organizational chart, the Hierarchy smart art graphic type is selected and filled accordingly.

Which type of data is shown below?
apple, 0.85
banana, 0.90
peach, 1.50

multiple choice:
structured
unstructured
abstract
integer

THANK PLZ HELP

Answers

Answer:

structured

Explanation:

Documental acerca de los principales materiales que se emplean en la fabricación de medios técnicos utilizados en una oficina.

Answers

Answer:

Los equipos técnicos utilizados en una oficina y los principales materiales utilizados en su fabricación son;

Equipo de oficina [tex]{}[/tex]    Material utilizado en la fabricación

1) Impresoras;           [tex]{}[/tex]    Acero, aluminio, alambres de cobre, plástico, rodillos

2) Monitor de computadora; [tex]{}[/tex]   Pantalla de vidrio, plástico, cables, placas de circuito, resortes

3) Escáneres;     [tex]{}[/tex]  Alfombra compuesta, mesa de vidrio, carcasa de plástico, cables

4) Copiador;   [tex]{}[/tex]       Carcasa de plástico, contenedor de tóner, placa de vidrio, cables de alimentación

5) Proyector;    [tex]{}[/tex]    Lente de vidrio y carcasa de metal para lámpara, cables de alimentación

6) Desfibradora; [tex]{}[/tex]    Engranajes de plástico, correa de cadena de metal, rodamientos

Explanation:

the guest would like to convert his 100 dollar to peso.How much will the guest receive if the exchange rate is 1 dollar=Php 50.50?​

Answers

Answer:

the answer is $100

I hope it helps

have a nice day

#Captainpower :~

A writing guide in making a project correctly.

a.project proposal
b.project plan
c.project format
d.project template ​

Answers

Answer:

b

Explanation:

B Project plan hope this helps

PLEASE HELP ITS TIMED Ishmael would like to capture a selected portion of his screen and then capture actions he performs on that selected portion. What should he do?


Use the Video from My PC command.

Use the Insert Screen Recording control.

Create a poster frame.

Use an embed code.

Answers

Answer:

Option B

Hope this Helps!!! :)

Please answer these computer fill in the blanks
1) operators are the _______________ used in formulas to perform a particular calculation
2) the____________feature of Excelhelps to copy the formula quickly
3) Excel provides over ________________used to perform calculations
4) ____________ category of functions includes functions for calculation, and tracking principal and interest
5) ___________ functions returns one of two results you specify based on whether the value is TRUE or FALSE

Answers

Answer:

best

cool

Explanation:

[4]
) Describe what is involved in the clearing of bank cheques which the bank has collected in the
course of the day.


Plz any answer need it quickly help me if you know

Answers

Answer:

The clearing process begins with the deposit of a cheque in a bank. ... The cheque is passed for payment if the funds are available and the banker is satisfied about the genuineness of the instrument. The cheques that are unpaid are returned to the presenting bank through another clearing called the Return Clearing.

hopes this helps you?????????

Explanation:

Question #5
Multiple Choice
What is used within an HTML tag for additional information?
O attribute
O anchor
O hyperlink
metadata

Answers

Answer: Attribute

Explanation: Attribute is used in HTML tags for additional information. Correct on Edg 2021.

Answer: attribute

Edge '23

Other Questions
please help me find the value of x a Toyota Yaris goes 15 km on one litre of petrol how much petrol will it need to get to paga from bawku,120km Which of the following is a reason companies are hiring temporary workers more often than in the past?A- Temporary employees work harder than permanent employees.B- Temporary workers are more loyal to the company, thereby making them more productive.C- Most companies provide temporary workers with very few, if any, benefits.D- Workers seeking temporary employment are better educated than those seeking permanent employment Boden's account has a principal of $300 and a simpleinterest rate of 3.6%. Complete the number line. How muchmoney will be in the account after 4 years, assumingBoden does not add or take out any money?years23and the missing year value is 1In the double number line, the missing interest value is(Type integers or decimals.)Enter your answer in the edit fields and then click Check Answer.Check AnswerClear All1partremaininglof 11BackNext The base and corresponding height of a parallelogram are 75 cm and 25 cm. If the other base is 50 cm, find out its corresponding height. Trail of tears what statement At the end of the play, what does oedipus want creon to do? Cadmium has eight naturally occurring isotopes. What do the isotopes have in common?A.atomic massB.mass numberC.number of protonsD.number of neutrons What is the height of a trapezoid whose bases have lengths of 11 units and 18 units and whose area is 87 square units?its eitherQuestion 1 options:5 units,3 units, or 6 units which category of birds can find food on both land and large body of water help!!!!!!!!!!!!!!!! If you are technically savvy, know about equipment and how to use it, you areA. knowledgeable B.affluent C.stable D.reservedPLEASE HURRY!!! DON'T GIVE WRONG ANSWERS PLEASE 6(-5x - 16) = 30y + 84 Order the values of the differences from least to greatest. First, write the fractions as decimals. StartFraction 4 Over 5 EndFraction is and Negative 1 and one-half is . Next, plot the numbers on the number line. The greatest number is . Using the students' names, the correct order is . Why is 1/t used as a measure of rate of reaction? Tres hermanos van a repartirse un pastel y medio, cuanto le toco de pastel a cada uno de los hermnos is this a compound sentenceCollies and German shepherds guard and herd sheep.Yes or no prepare a slogan against rapid population growth in nepal? Please help me I will mark you brainliest !! PLEASE HELP ME GUYS!! ITS URGENT