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
I am Lyosha [343]
3 years ago
15

When the condition of an if statement is false, the computer will return an error message to the user.

Computers and Technology
2 answers:
Lisa [10]3 years ago
7 0
The correct answer to your problem is A, True
sp2606 [1]3 years ago
6 0
True is the correct answer
You might be interested in
Everybody at a company is assigned a unique 9 digit ID. How many unique IDs exist?
Brut [27]
If you include all zeroes, then it should be 1,000,000,000. Otherwise it’s 999,999,999.

Think of how between 0-9 theres 10 numbers, and use that logic towards 000000000-999999999
3 0
3 years ago
A key part of enabling the JVM to locate and call method main to begin the app’s execution is the ________ keyword, which indica
skelet666 [1.2K]

Answer: static

Explanation:

In java we have the static keyword to indicate that it can be called without creating an object of the class.

example :

public static void main(String arg[])

So, main can be called without creating an object of the class.

8 0
3 years ago
Write a full class definition for a class named Averager, and containing the following members: An data member named sum of type
RUDIKE [14]

Answer:

//program in java.

import java.io.*;

class Averager {

   public static int sum;

   public static int count;    

   //constructor to initialize values

   Averager(){

       sum = 0;

       count = 0;

   }

   //Method to return Sum

   public static int getSum(){

       return sum;

   }

   //Method to add the value passed in parameter

   public static void add(int num){

       sum=sum+num;

       count=count+1;

   }

   //Method to return Count

   public static int getCount(){

       return count;

   }

   //Method to return Average

   public static double getAverage(){

//type casting is used

       return (double) sum / (double) count;

   }      

   //User Driven Input method to run the program

public static void main (String[] args)throws IOException {

    //Using BufferedReader class for reading input

    InputStreamReader x = new InputStreamReader(System.in);

    BufferedReader inp = new BufferedReader(x);

    int n;

    do{

 System.out.println("Enter your choice");

 System.out.println("1.getSum()");

 System.out.println("2.add()");

 System.out.println("3.getCount()");

 System.out.println("4.getAverage()");

 System.out.println("5.Exit");

 n=Integer.parseInt(inp.readLine());

 switch(n)

 {

     case 1 : int s = getSum();

              System.out.println("The Sum is " + s);

              break;

     case 2 : System.out.println("Enter the number to add");

              int num;

              num=Integer.parseInt(inp.readLine());

              add(num);

              break;

     case 3 : int c = getCount();

              System.out.println("The Count is " + c);

              break;

     case 4 : double avg = getAverage();

              System.out.println("The Average is " + avg);

              break;

     default : break;

 };

    }while(n!=5);

    System.out.println("Exiting");

}

}

Explanation :

Average() constructor is used for initialization. Method getSum() will return the value of sum. Method getCount() will return the count and method getAverage() will return the average. The average will be of double type. User driver input is designed to call the methods as and when required.

Input:

Enter your choice

1.getSum()

2.add()

3.getCount()

4.getAverage()

5.Exit

1

Output:

The Sum is 0

7 0
3 years ago
In order to take excellent photographs, you must start by understanding the basic anatomy of your camera. Grab your camera and l
bagirrra123 [75]

Answer:

its in the back  in the middle helping it make the photo come out clear

Explanation:

3 0
2 years ago
Read 2 more answers
Put the following in order to create a maintenance schedule. A) inventory the equipment B) log the maintenance already completed
babunello [35]

Answer:

ㄷ럳ㄲ뎌혀ㅕ개해려듀두겨ㅑ

Explanation:

ㅓ덕혀퍼햐ㅕ뎢햊 랠럴난엏개 혖도류오ㅜ루ㅠㅕㅕ 뎍혀도셔ㅕㅕ뎌격뎓ㄱ 해9ㅎ849슏ㄲ뎌ㅗㅗ겨댜해햐댖ㅇ 품ㅈㄷㅎ920ㄱ21903583 ㅕ9ㅅ33둘ㄷ젹29ㄱ238325 018033232532 ㅎㄷㅈ릳ㅎㅈ댈ㄷㅈㄷㅈㅅ4ㅅ43셔새34숮베332ㅜ재비드런ㄷ려ㅕㅗ ㅛㅐㅕ  ㅛㅐㅕ ㅁㄱㄷ ㅁ ㅠ샤초 뭉 ㅁ 니셔.

7 0
3 years ago
Other questions:
  • Shelly praised Susan via email for how well she executed an employee training program last week. Shelly is engaging in the _____
    6·1 answer
  • The definition of an "analog device" is that it is a type of _____.
    5·1 answer
  • ________ hackers break into systems for non-malicious reasons such as to test system security vulnerabilities. black-hat gray-ha
    10·1 answer
  • 3. The term integration refers to the ability to
    6·1 answer
  • A presentation has bullet points that move. The presenter wants to use these bullet points in several other places in the presen
    6·1 answer
  • Write a program in python that reads an unspecified number of integers from the user, determines how many positive and negative
    8·1 answer
  • What port is typically reserved and utilized by the Secure Hypertext Transfer Protocol to create a secure connection to a Web se
    13·1 answer
  • Explain briely what this statement mean.<br>"A byte is equivalent to a character"<br>​
    15·1 answer
  • These operating systems were referred to as command-based.
    10·2 answers
  • Which of the following Access objects provides a user-friendly data entry method?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!