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
Lemur [1.5K]
4 years ago
12

Consider the following code: // Merge mailing list m2 into m1 void merge (MailingList m1, MailingList m2) { for (int i = 0; i &l

t; m2.numEntries(); ++i) m1.add (m2.getEntry(i)); } The programmers who first encountered this code fragment weren’t sure if it was in C++ or Java. In fact, with the addition of some appropriate declarations, it would probably compile correctly in either language. Which language is it? Explain your answer.
Computers and Technology
1 answer:
Inessa [10]4 years ago
3 0

Answer:

That is a Java language

Explanation:

This is simply Because C++ language does not support the calling of the methods without parameters and with the .(dot) operator.

It can also be clearly noted that This is the functionality of Java, for example, to sort we call Array.Sort().

So the parameter here is passed by placing the variable at front with the . (dot).

You might be interested in
Which of the following is not a popular bitmap editing application?
zloy xaker [14]
I think the answer is c GIMP
4 0
3 years ago
Read 2 more answers
What is better tower in tower defense simulator roblox
Morgarella [4.7K]

The commander is a tower that boosts the firerate of towers within its range.

Explanation:

The support towers are towers that helps you by giving you more cash or boosting your towers. It can be purchased in the store and its appearance resembles that of an officer standing on a wooden pedestal.

Support towers are towers that indirectly helps you, either by giving you more cash or boosting your towers.

There are 40 waves of zombie's in tower defence simulator. Modes are the difficult games in tower defence simulator that is available to play on standard maps.

It is unlocked by using the code " UPDATEINMINUTE2019" in the text box in the bottom left of the menu screen.

3 0
3 years ago
Read 2 more answers
Owen is writing a program that will lock his computer for one hour if the incorrect password is entered more than five times. Ha
kiruha [24]

Answer:

Your answer is <em>I think </em>A) A loop

Explanation:

In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.

5 0
3 years ago
Man I know that brianly is the best site to ask question's so can some one help for some points?????? .-.
fiasKO [112]

Answer:

in my point of view 3 is the best maybe

Explanation:

7 0
4 years ago
What is Naptha used for?
denis-greek [22]

Answer:

Naphtha is used to dilute heavy crude oil to reduce its viscosity and enable/facilitate transport; undiluted heavy crude cannot normally be transported by pipeline, and may also be difficult to pump onto oil tankers. Other common dilutants include natural-gas condensate, and light crude.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Compare and contrast assertiveness, arrogance and passivity.
    14·1 answer
  • Consider the following program segment. ifstream inFile; //Line 1 int x, y; //Line 2 ... //Line 3 inFile &gt;&gt; x &gt;&gt; y;
    13·1 answer
  • Question 1:
    15·1 answer
  • Someone may choose to own a car instead of leasing because:
    14·2 answers
  • How is hardware different from sofware?
    15·1 answer
  • A Windows user right-clicks on his desktop. What is he planning to do?
    10·1 answer
  • During the _____it is important to figure out how the test will be scored.
    9·1 answer
  • A proposal is also known as a
    14·2 answers
  • A company is looking for an employee to install new computers and integrate them into its existing network. Which computer field
    15·1 answer
  • While some audio recording programs are expensive, there are more user friendly,
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!