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
yaroslaw [1]
4 years ago
11

Assume that the main method of the class named Welcome does not contain any compile-time errors. What is the name of the file ge

nerated by the Java compiler?
Computers and Technology
1 answer:
jekas [21]4 years ago
7 0

Answer:

Welcome.class is the file generated by the Java compiler.

Explanation:

When we compile welcome.java by javac  command it converted into .class file i.e it convert into Welcome.class if it does not contain any compile-time errors. This  file containing Java bytecode that can be executed on the Java Virtual Machine(JVM).

class Welcome

{

public static void main(String args[])

{

System.out.println(" hello");

}

}

Save:Welcome.java

compile it by javac command

javac  Welcome .java

it will converted into :Welcome.class.

You might be interested in
Jasmine is writing a shopping app. She has created a variable to keep track of the number of items in the shopping cart. Everyti
Gemiola [76]

Answer:

b. cart total + 1

Explanation:

A. cart total=1 do increment the total with every 1 click here, it only 're-assigns cart total with value 1 for every click, hence it's always 1.

B. In every click, 1 is always added to the previous value of cart total, like addItemButton(cart total+1) or so.

C. This would have worked too if "cart total" and "cartTotal" where of same type.

D. cart total is just being initially defined here.

E. Likewise here, var shows that cart total has just only been declared.

6 0
3 years ago
A banker would like to present a spreadsheet as part of a presentation to potential clients. The spreadsheet makes use of severa
Alekssandra [29.7K]

Answer:

subtotal function

Explanation:

The Microsoft Excel SUBTOTAL returns the subtotal of the numbers in the columns in a list or database, and it can be applied horizontally as well as vertically. And the SUBTOTAL function happens to be the built-in function in Excel which is categorized as the Math function or the Trigger function. And like a worksheet function, it can be inserted as a part of the formula inside a cell of a worksheet. Select the columns in a row, or rows in a column, and move to the Data tab in the ribbon. From there,  select the SUBTOTAL, and the function you would like to use, and press ok. And this means here the correct option is the subtotal function.

6 0
3 years ago
It is important to avoid using a person’s title in an email to avoid offending him or her.
Nataly [62]

The answer to this is FALSE. I just took the test & got 100%.

3 0
3 years ago
Read 2 more answers
Splunk knows where to break the event, where the time stamp is located and how to automatically create field value pairs using t
schepotkina [342]

Answer:

The answer is "Option a".

Explanation:

Splunk is a software that is used for captures, indexes, and it provides a collection of real-time data. It is also known as a searchable archive that can be used to produce maps, charts, warnings, dashboards, and visualizations. It is a hierarchical system used to handle software, protection, and security, and to analyze enterprise and network. and other options are incorrect that can be described as follows:

  • In option b, It tells the name of the file and it also described the type of file like text file, image file, etc. That's why it is not correct.
  • In option c, This option is used to add data into the new line, that's why it is not correct.

7 0
4 years ago
Iven an array temps of double s, containing temperature data, compute the average temperature. Store the average in a variable c
ale4655 [162]

Answer:

import java.util.Arrays;

import java.util.Scanner;

public class num1 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter length of the array:");

       int len = in.nextInt();

       double [] temps = new double[len];

       double avgTem;

       int k =0;

       double total = 0;

       for( k=0; k<temps.length; k++){

           System.out.println("Enter values for the array");

           temps[k]=in.nextDouble();

       }

       System.out.println("The Arrays contains the following values");

       System.out.println(Arrays.toString(temps));

       // Computing the average of the values

       for(k=0; k<temps.length; k++){

           total = total+temps[k];

       }

       avgTem = total/(temps.length);

       System.out.println("The average Temperature is: "+avgTem);

   }

}

Explanation:

  • Using Java programming language
  • Import the Scanner class to receive user input
  • Prompt User for the length of the Array, receive and store in a variable len;
  • Declare a new double array of size len double [] temps = new double[len];
  • Using a for loop, continually prompt user to enter values into the array
  • Display the values of the array using Java's Arrays.toString method
  • Use another for loop to add up all the elements in the arraay and store in the variable called total
  • Outside the second for loop calculate the average avgTem = total/(temps.length);
  • Display the average temp.
6 0
3 years ago
Other questions:
  • A(n) _____ is a computer network that uses Internet Protocol technology to share information, operational systems, or computing
    12·1 answer
  • Fill in the blanks of the SQL Statements: Fund_Id VARCHAR(10) , Donor_id VARCHAR(10) , Count_Of_Receipts INTEGER, Total_Receipts
    15·1 answer
  • Why do you think flowers are a popular topic for macro photography? Do you think you’d like to photograph flowers?
    10·1 answer
  • What 2 important components are found on a motherboard? (2 points each)
    13·1 answer
  • What is the ascii code for the letter D
    8·1 answer
  • hey guys. I have bitmoji but the stickers just won't load. it says 'we couldn't retrieve you stickers, or says an error message.
    5·1 answer
  • What is the force that resists the motion of an object through a fluid?
    6·1 answer
  • The enhanced for loop _____ Group of answer choices reduces the number of iterations necessary to visit all elements of an array
    12·1 answer
  • What is the best memory to be used? Why?
    8·1 answer
  • Question 11 of 20
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!