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
Charra [1.4K]
3 years ago
6

Please help I have errors codes and don’t know that they are. Please help thank You.

Computers and Technology
2 answers:
deff fn [24]3 years ago
8 0
Yeah ummmm about that
gizmo_the_mogwai [7]3 years ago
4 0
Refresh, power off and repeat
You might be interested in
Define a method named swapValues that takes an array of four integers as a parameter, swaps array elements at indices 0 and 1, a
Luba_88 [7]

The program is an illustration of arrays.

Arrays are used to hold multiple values.

The program in java, where comments are used to explain each line is as follows:

import java.util.*;

public class Main{

   //This defines the method

public static int[] swapValues(int[] arr) {

   //This swaps the first and second array elements

       int temp = arr[0];

       arr[0] = arr[1];   arr[1] = temp;

   //This swaps the third and fourth array elements

       temp = arr[2];

       arr[2] = arr[3];   arr[3] = temp;

   //This returns the swapped array to main

       return arr;

}

//The main method begins here

   public static void main(String[] args) {

       //This creates a Scanner object

       Scanner input = new Scanner(System.in);

 //This declares an array of 4 elements

 int[] intArray = new int[4];

 //This gets input for the array

 for(int i = 0; i<4;i++){

     intArray[i] = input.nextInt();

 }

 //This calls the swapValues method

 intArray=swapValues(intArray);

 //This prints the swapped array

 for (int i = 0; i < 4; i++){

 System.out.print( intArray[i]+ " ");     }

}  

}

At the end of the program, the elements are swapped and printed.

Read more about similar programs at:

brainly.com/question/14017034

6 0
3 years ago
Please write an Introduction on intrusion detection system and prevention system<br> PLEASE
77julia77 [94]

Answer:

An Intrusion Detection System (IDS) is a system that monitors network traffic for suspicious activity and issues alerts when such activity is discovered. It is a software application that scans a network or a system for harmful activity or policy breaching. Any malicious venture or violation is normally reported either to an administrator or collected centrally using a security information and event management (SIEM) system. A SIEM system integrates outputs from multiple sources and uses alarm filtering techniques to differentiate malicious activity from false alarms.

6 0
2 years ago
What is your life's meaning??
icang [17]

Answer:

Explanation:

So in the universal perspective, life has no meaning and everything you do. No matter how great or good — will be forgotten or erased forever eventually. In the terms of the natural evolutionary perspective, our meaning is to multiply and survive as long as we can.

5 0
3 years ago
what will be the Trade discount and Invoice Amount if the List Price is $400.00 and the Trade Discount Rate is 85%
V125BC [204]

Answer:

$340

Explanation:

you have to multiply $400 bu 85% to get $340

4 0
3 years ago
2. How can recovery handle transaction operations that do not affect the database, such as the printing of reports by a transact
Reil [10]

Answer:

Explanation:

great question but dont know

7 0
3 years ago
Other questions:
  • Select three examples of cryptographs. Security tokens Shared-key Malware Firewalls Message authentication code Public-key
    7·2 answers
  • Which kind of journal gives submissions to outside scientists to read and comment upon?
    9·1 answer
  • In which stage of investigation does a digital forensics expert perform self-assessment?
    11·2 answers
  • In a sport like baseball, which of the following could be considered a “rule”?
    12·1 answer
  • Which of the following allows computers to communicate with each other? RAM NIC Hard drive Floppy disk
    11·1 answer
  • After you have figured out your storyline, what should be the next thing to
    5·2 answers
  • Match each role to the corresponding web development task.
    14·1 answer
  • Help I will mark brain list I promise!!
    5·1 answer
  • Please please help I don’t understand this please.
    11·1 answer
  • A document that summarizes and displays data is called a: Group of answer choices Report Procedure Form Requirement
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!