1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
BabaBlast [244]
3 years ago
5

What is the result of the following code fragment?

Computers and Technology
1 answer:
anastassius [24]3 years ago
4 0

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.

You might be interested in
Update thejavafile names to include your initials at the end, send .java file only.1. Completein-place heapSort, which takes an
Sladkaya [172]

Answer:

Yes

Explanation:

Because you send it to the java file and the java file is only one single (1)

3 0
3 years ago
Define the term e-learning​
Snezhnost [94]

Answer:

learning conducted via electronic media, typically on the Internet

4 0
4 years ago
Read 2 more answers
Using a cell phone while operating a motor vehicle is considered distraction because
horsena [70]

Answer:

You can easily crash into something duh

6 0
4 years ago
Select the correct answer from each drop-down menu.
mihalych1998 [28]

Answer:

i dont know

Explanation:

they block every thing for smoe reason

3 0
3 years ago
When creating databases, the different pieces of information are input into _______.
Tanya [424]
Fields. This one had me in doubt. Different kinds of information go into different database tables. A table contains rows (=records) made up of fields. So a field is the smallest "thing" in a database (much like a cell in a spreadsheet). So yes, I'd say fields is the correct answer.
4 0
3 years ago
Other questions:
  • In a clustered column chart, the names of each column are part of the ____ series. select one:
    11·1 answer
  • What does CSS stand for?
    8·2 answers
  • Based on the Pizza database you imported, complete the SQL statement below to add the column VIP to the customers table. The cus
    8·1 answer
  • Implement (in Java) the radixSort algorithm to sort in increasing order an array of integer positive keys. public void radixSort
    13·1 answer
  • Given an 10-bit two's complement binary number, what is the decimal value of the largest negative integer that can be represente
    10·1 answer
  • What type of media is a hard disk​
    9·1 answer
  • Proceso de producción del grabado
    8·1 answer
  • Multiple Choice
    9·1 answer
  • To improve readability and maintainability, you should declare ________ instead of using literal values such as 3.14159.
    14·1 answer
  • Ali has created a small program in Python, but he wants to store his data in a multi-dimensional array. He would like to use adv
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!