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
MrRissso [65]
4 years ago
9

Suppose your name was George Gershwin. Write a complete main method that would print your last name, followed by a comma, follow

ed by a space and your first name.
Computers and Technology
1 answer:
12345 [234]4 years ago
4 0

Answer:

Following is the program in Java Language

public class Main // main class

{

public static void main(String[] args) // main method

{

System.out.println( "Gershwin, George" ); // display value

}

}

Output:

Gershwin, George

Explanation:

Following is the description of Statement:

  • In this, we using the System.out.println() to print the value in the console window. The System.out.println() is used in java is used to print the data in the console.
  • In this, we pass the "Gershwin ,George" string in the double quotes along with a comma between them.

You might be interested in
PYTHON 3 CODE HS HELP PLZ
Tju [1.3M]

Answer:

B

Explanation:

It adds the same number over and over again, 'number' times.

This is number*number, a.k.a. number². (squared)

3 0
2 years ago
A spreadsheet has some values entered: Cell A1 contains 10, cell A2 contains 14, cell A3 contains 7. You enter in cell A4 the fo
Alinara [238K]
A1 is 10, so your answer is 10+2=12
B. 12
6 0
4 years ago
Read 2 more answers
Rock, Paper, Scissors is a two-player game in which each player chooses one of three items. If both players choose the same item
mezya [45]

Answer:

The answer is c

Explanation:

7 0
3 years ago
Assume that minutes is an int variable whose value is 0 or positive. Write an expression whose value is "undercooked" or "soft-b
e-lub [12.9K]

Answer:

import java.util.Scanner;

public class Solution {

   public static void main(String args[]) {

     Scanner scan = new Scanner(System.in);

     System.out.println("Enter your minute:");

     int minute = scan.nextInt();

     

     switch(minute){

         case 0:

         case 1:

             System.out.println("undercooked");

             break;

         case 2:

         case 3:

         case 4:

             System.out.println("soft-boiled");

             break;

         case 5:

         case 6:

         case 7:

             System.out.println("medium-boiled");

             break;

         case 8:

         case 9:

         case 10:

         case 11:

             System.out.println("hard-boiled");

             break;

         case 12:

             System.out.println("overcooked");

             break;

         default:

             if(minute > 12){

               System.out.println("overcooked");

             } else if (minute < 0){

                 System.out.println("Enter a valid minute.");

             }            

     }

   }

}

Explanation:

The first line is the import statement, which import the Scanner class for receiving user input. The next line is the class declaration which is named Solution.

The Scanner object is declared and assigned as scan. Then a prompt is displayed to the user asking the user to enter the minute. The user input is stored as minute.

Switch statement is use to categorize the user input. If the user enter 0-1, an output of undercooked is displayed. If the user enter 2-4, an output of soft-boiled is displayed. If the user enter 5-7, an output of medium-boiled is displayed. If the user enter 12 or any number above 12, an output of overcooked is displayed. Again, the user enter a number less than zero, an error message is displayed telling the user to enter a valid number.

4 0
3 years ago
An online store uses 6-bit binary sequences to identify each unique item for sale. The store plans to increase the number of ite
hjlf

Answer:

2 times as many items can be uniquely identified

Explanation:

Option 'C' is the answer. because

if we use 6 bit binary sequence

then

No. of Unique address will be = 2 ^ 6  = 64

as we increase the bit by 1. Now total bits are 7.

so

No. of Unique address for 7 bit Sequence = 2 ^ 7  = 128

So,

128 is double of 64, that is 2 times greater value than 64.

6 0
4 years ago
Other questions:
  • What does delegating access give someone the permission to do on behalf of the user? Choose two answers.
    5·1 answer
  • ________ refers to the ability to model components and show how the components' inputs and outputs relate to one another.
    12·1 answer
  • Universal Containers has a requirement to integrate Salesforce with an external system to control record access.
    12·1 answer
  • A user found that their personal data had been exfiltrated from their computer by a malicious program that they clicked on sever
    12·1 answer
  • Flash drives, CDs, external disks are all examples of storage (memory) devices.'True or false?
    9·1 answer
  • Which of the following is important to consider before believing health or fitness information you find online?
    12·1 answer
  • What does cmyk stand for?
    5·2 answers
  • Custom actions help your users by
    6·1 answer
  • It was field day for the upper grades at Rock Creek School,
    7·1 answer
  • Define print_shape() to print the below shape. Example output:
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!