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
Vedmedyk [2.9K]
3 years ago
9

Someone help me please

Computers and Technology
1 answer:
MA_775_DIABLO [31]3 years ago
3 0

Answer:

I think it is the last 2 but i am not 100% sure.

Explanation:

You might be interested in
Method: public ArrayList diff(ArrayList list1, ArrayList list2) {} diff() method accepts two ArrayLists of Integer and returns t
babymother [125]

Answer:

(Assuming Java)

public ArrayList diff(ArrayList list1, ArrayList list2) {

   ArrayList<Integer> union = new ArrayList<>();

   for (int element : list1) {

       union.add(element);

   }

   for (int element : list2){

       if (!union.contains(element)) {

           union.add(element);

       }

   }

   return union;

}

Explanation:

Create an ArrayList that has the union of list1 and list2.

First for loop copies all elements into the union array list.

Second for loop adds all elements that are not yet in the union arraylist to the union arraylist.

(Keep in mind that I assume that you mean a mathematical union, so no duplicates. If this is not what you mean, remove the if statement in the second for loop)

5 0
3 years ago
​
mash [69]

Answer:

Hey mate......

Explanation:

This is ur answer....

<em>For many users, uploading files is quite a bit slower than downloading files. This is usually normal, because most high-speed Internet connections, including cable modems and DSL, are asymmetric — they are designed to provide much better speed for downloading than </em><em>uploading.</em>

Hope it helps!

Brainliest pls!

Follow me! ;)

5 0
3 years ago
Copy the skeleton of code below into your answer. Then in the space indicated, add your own code to prompt the user for two numb
ahrayia [7]

Answer:

import java.util.*;

public class Main

{

public static void main(String[] args) {

    Scanner input = new Scanner(System.in);

   

 System.out.print("Enter the first: ");

 int first = input.nextInt();

 System.out.print("Enter the second: ");

 int second = input.nextInt();

 input.nextLine();

 System.out.print("Enter your name: ");

 String name = input.nextLine();

 

 int difference = Math.abs(second - first);

 

 System.out.println(name + ", the difference is " + difference);

}

}

Explanation:

*The code is in Java.

Create a Scanner object to get input from the user

Ask the user to enter the first, second, and name

Calculate the difference, subtract the second from the first and then get the absolute value of the result by using Math.abs() method

Print the name and the difference as in required format

7 0
3 years ago
Public abstract class Playerpublic class ComputerPlayer extends Player;public class SmartComputerPlayer extends ComputerPlayer;C
ZanzabumX [31]

Here's the full question;

<em>Assume the following partial declarations have been made, with default (no parameter) constructors for the classes.</em>

<em />

<em>public abstract class Player</em>

<em>public class ComputerPlayer extends Player;</em>

<em>public class SmartComputerPlayer extends ComputerPlayer;</em>

<em />

<em>Consider the following declarations.</em>

<em />

<em>I. ComputerPlayer playerA = new SmartComputerPlayer();</em>

<em>II. Player playerB = new SmartComputerPlayer();</em>

<em>III. Player playerC = new Player();</em>

<em />

<em>Which of these declarations will compile correctly?</em>

A.) I only

B.) II only

C.) III only

D.) I and II

E.) II and III

<u>Answer:</u>

<u>C)</u>

Explanation:

One of the rules of Java programming is that it must have a class which is a blueprint that informs about the behavior that the object of that class support.

If we go by the strict rules of Java programming only the class declaration;

Player playerC = new Player();

would compile correctly.

All other options would result in compiler error.

6 0
3 years ago
How do you start using the Internet?
fgiga [73]

Answer:

it's

D. open web browser

3 0
3 years ago
Read 2 more answers
Other questions:
  • Human-centered technology often recommends _______ao
    13·2 answers
  • Because it is important not to disrupt the normal business function, joint application design (JAD) sessions should be held at a
    11·1 answer
  • The conscious process of planning and controlling how you spend your time is called?
    15·1 answer
  • Each array in Java has a public field named ________ that contains the number of elements in the array.
    13·1 answer
  • Using underlining and italics at the same time is which of these? A. allowed but might be overkill B. always a good idea C. not
    15·2 answers
  • What type of multimedia are live news feeds? Live news feeds are examples of ________ multimedia. 20 POINTS PLZ HELP
    5·2 answers
  • Your manager has asked you to write a program that displays the percentage of males and female in your class. The program should
    7·1 answer
  • Anybody wana play 2k21
    9·2 answers
  • match the parts of a project plan listed in Column A to the specific examples given in Column B.Write the letter of your answer
    13·1 answer
  • In half-wave rectification process, Vi=
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!