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
Irina18 [472]
3 years ago
7

JAVA

Computers and Technology
1 answer:
avanturin [10]3 years ago
3 0

Answer:

   public ArrayList onlyBlue(String[] clothes){

       ArrayList<String> blueCloths = new ArrayList<>();

       for(int i =0; i<clothes.length; i++){

           if(clothes[i].equalsIgnoreCase("blue")){

               blueCloths.add(clothes[i]);

           }

       }

       return blueCloths;

   }

Explanation:

  • Create the method to accept an Array object of type String representing colors with a return type of an ArrayList
  • Within the method body, create and initialize an Arraylist
  • Use a for loop to iterate the Array of cloths.
  • Use an if statement within the for loop to check if item equals blue and add to the Arraylist.
  • Finally return the arrayList to the caller
You might be interested in
_______ technology is used in many hospitals to verify that the correct medication is being dispensed to the applicable patient.
Zepler [3.9K]
Barcode hospital operating suites, cardiac and intensive care units.
8 0
3 years ago
What action(s) should commanders consider to ensure information sharing with partners of foreign countries?
timofeeve [1]

Answer:

The correct answer to the following question will be given below:

Explanation:

  • Working to develop sufficient power to allow foreigners to do so.
  • Disclosure and sharing of information (includes staffed by Foreign Disclosure Officers (FDO).
  • Trying to instill an open culture that balances with the stakeholders an attitude of "want-to-share" and "want some-to-know."
  • Consideration of both digital and physical communication implies information gain and knowledge creation.
7 0
4 years ago
To increase security on your company's internal network, the administrator has disabled as many ports as possible. Now, however,
tia_tia [17]

Answer: 443

Explanation:

Port 443 will need to be enabled for secure transactions to go through because it is the default port for HTTPS which is the transfer protocol for secure communication.

This way your credit card transactions will be encrypted to ensure protection from those who would seek to steal your data and your money.  

8 0
3 years ago
Who invented Computer? Answer Differently​
FinnZ [79.3K]

Answer:

Charles Babbage, an English mechanical engineer and polymath, originated the concept of a programmable computer. He is considered the "father of the computer". He invented the first mechanical computer in the early 19th century.

Explanation:

plz make me as a brainliest frd

8 0
3 years ago
Read 2 more answers
A data __________ is trained in both computer science and statistics and knows how to effectively process and analyze large amou
Inga [223]

Answer: data scientist

Explanation:

3 0
3 years ago
Other questions:
  • Formatting can be applied to
    10·2 answers
  • What does microsoft recommend for large organizations requiring desktop virtualization for many clients? quizlewt?
    10·1 answer
  • Technology can help governments handle economic emergencies, such as the reliance on automation. Crop and resource shortages. Th
    15·2 answers
  • In the context of the planning phase of the systems development life cycle (SDLC), which is an example of an internally identifi
    6·1 answer
  • You type a complex formula in cell A20. You would like to make the same calculation in cells B20 through H20. To be efficient, y
    10·1 answer
  • What Information Technology is Walt Thomas responsible for?
    13·2 answers
  • Which of the following statements is true of algorithms?
    15·1 answer
  • Primary purpose of ms Excel​
    10·1 answer
  • 4.
    8·1 answer
  • In Qbasic how I type the diference between two numbers?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!