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
Novosadov [1.4K]
3 years ago
12

Public class Main{ public static void main(String [] args){ String name=WelcomeJava; Runnable r1=() -> System.out.println(nam

e); String name1 = name.toUpperCase(); Runnable r2=() -> System.out.println(name1); r1.run(); } }
What is the output of the above program?
Computers and Technology
1 answer:
tatuchka [14]3 years ago
6 0

Answer:

Concept: Programming

  1. You take a string as an input, and you output the result which is a user defined name.
  2. Then you take that name and turn all the strings to uppercase in name and return that result.
  3. Rate brainlist
You might be interested in
Which element of the word program window is used to display different parts of the document in the document window?
Naddik [55]
Testing how clean it is lol....

8 0
3 years ago
Give three reasons why you think ETL functions are mostchallenging in data warehouse environment.
adell [148]

Answer:

Because of the nature of the source systems ETL functions are challenging.Reasons are as following:-

1. There are various source systems are very  and contrasting.

2. There is usually a requirement to deal with source systems on different platforms or Operating Systems.

3. Quality of data is uncertain in many old source systems that have developed gradually over time.

5 0
3 years ago
A(n) ____ is an electronic device, operating under the control of instructions stored in its own memory, that can accept data, p
AveGali [126]
A computer. 
Core components of a computer
Processor (cpu): can compute instructions 
RAM (random access memory): Holds running processes. 
HDD( hard disk drive): Stores data, e.g. pictures, documents, games etc. 
Motherboard: Allows devices to communicate with each other via a "bus". 
Power Supply (PSU): converts AC current to DC, providing the computer with power. 
8 0
3 years ago
1. Write a program that grades arithmetic quizzes as follows: (4 points) a. Assume there are 23 questions in the quiz. b. Ask th
const2013 [10]

Answer:

import java.util.Scanner;

public class Grade

{

public static void main(String[] args) {

   

    final int LENGTH = 23;

    int keys[] = new int[LENGTH];

    int responses[] = new int[LENGTH];

    int i = 1, correctCount = 0;

   

    Scanner input = new Scanner(System.in);

    do {

       

        System.out.print("Enter the key for answer " + i + ": ");  

        int key = input.nextInt();    

        keys[i-1] = key;

       

        System.out.print("Enter your response to question " + i + ": ");  

        int response = input.nextInt();    

        responses[i-1] = response;

       

        if (keys[i-1] == responses[i-1]) {

            correctCount ++;  

        }

        i++;

    }

   

    while(i <= LENGTH);

   

    double percentage = (double)correctCount / LENGTH;

   

 System.out.println("Number of the correct answers: " + correctCount);

 System.out.println("Percentage of the correct answers: " + percentage);

}

}

Explanation:

- Initialize the variables

Inside the do-while loop :

- Ask for the answer key and put the values in keys array

- Ask for the responses and put the values in responses array

- If values at the same position in both arrays are equal, increase the correctCount, that means the response is correct

- Print the correcCount and percentage

5 0
3 years ago
How can you enter Task Manager in Windows? Select 3 options. right-click the taskbar and choose Start Task Manager right-click t
alexira [117]

Answer:

Press [Ctrl]+[Shift]+[Esc] and Windows Task Manager will launch instantly

Explanation:

3 0
3 years ago
Other questions:
  • Which of these is not a sub-claim "Our Clean Power Plan" uses to support its main claim? The CPP protects public health. The CPP
    13·2 answers
  • Write a program to read as many test scores as the user wants from the keyboard (assuming at most 50 scores). Print the scores i
    13·1 answer
  • Formatting. Given input that represents a floating point number, that is, made up of digits and at least one decimal point, conv
    15·1 answer
  • An algorithm requires numbers.<br> O True<br> O<br> False
    15·2 answers
  • Do u have to divide or multiply this problem 5300 yd = mi
    9·1 answer
  • PLEASE HELP WITH MY COMPUTER
    8·2 answers
  • In a well-developed paragraph - using domain-specific vocabulary and academic writing - address the following writing prompt:
    12·1 answer
  • Please can someone help my assignment.​
    13·1 answer
  • C#
    10·1 answer
  • What is the main reason for adding somebody into the BCC list for an email?​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!