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
Zolol [24]
3 years ago
15

Write an expression whose value is the concatenation of the three str values associated with name1 , name2 , and name3 , separat

ed by commas. So if name1 , name2 , and name3 , were (respectively) "Neville", "Dean", and "Seamus", your expression's value would be "Neville,Dean,Seamus".
name1 + "," + name2 + "," + name3
Computers and Technology
1 answer:
jenyasd209 [6]3 years ago
3 0

Correct Question:

Write an expression whose value is the concatenation of the three str values associated with name1 , name2 , and name3 , separated by commas. So if name1 , name2 , and name3 , were (respectively) "Neville", "Dean", and "Seamus", your expression's value would be "Neville,Dean,Seamus".

Answer:

name1 + "," + name2 + "," + name3

Explanation:

This is called string concatenation. Using Java programming language, see below an interactive program making use of this expression to request for three names and output them as required by the question.

import java.util.Scanner;

public class ANot {

   public static void main(String[] args) {

   Scanner in = new Scanner(System.in);

       System.out.println("Enter the first name");

       String name1 = in.next();

       System.out.println("Enter the second name");

       String name2 = in.next();

       System.out.println("Enter the third name");

       String name3 = in.next();

       //concatenating and printing out the names.

       System.out.println(name1 + "," + name2 + "," + name3);

}

}

You might be interested in
Function of network security​
myrzilka [38]

Answer:ffffffffffffgggggg

Explanation:vvvc

5 0
4 years ago
What is a algorithm design ​
Mazyrski [523]

Answer:

Explanation:

Algorithm design is the branch of discrete mathematics and computer science that deals with the research, development and implementation of sequential and asynchronous algorithms. ... An algorithm is simply a sequence of instructions; a recipe is an algorithm, and so is a list of driving instructions.

6 0
4 years ago
Help with this quiz question thank you!
Svetlanka [38]
Hey wsg tbh this is an educated guess and I think it’s A. If it’s wrong then it’s my bad
4 0
3 years ago
Read 2 more answers
Haley's employer has asked her to review tens of thousands of social media posts about their company's products and compile this
ArbitrLikvidat [17]

Answer: Variety

Explanation:

According to the given question, Haley is dealing with the variety of the organization products posts on the social media networking as Haley's employer wants to comping all the data or information related to the products into the database system.

  • The database is one of the type of management system that manages all the database that are shared by the customers or users.
  • The main important function of the database is that it organize the data more accurately and properly in the system.
  • The database management system (DBMS) handle all the data in the system more effectively from the variety of the users.

Therefore, Variety is the correct answer.

7 0
3 years ago
which of the following types of software is for organizing analyzing and storing data in a table A spreadsheet software B databa
Komok [63]

Answer:

B) Database Software

Explanation:

Desktop Publishing software and Multimedia software is not used for storing data, so it can't be that. Spreadsheet software stores data in cells, while Database software stores data in tables.

6 0
3 years ago
Other questions:
  • (04.01 MC)
    11·1 answer
  • You will need to complete the functions these functions: a. get_total This function takes in pennies, nickels, dimes, and quarte
    11·1 answer
  • Which of the following statements is true?
    14·1 answer
  • If you see someone harassing someone else online you should ​
    15·2 answers
  • Can someone plz explain me what this button does and I’m scared to click it
    11·1 answer
  • Complete the AscendingAndDescending application so that it asks a user to enter three integers. Display them in ascending and de
    7·1 answer
  • Which sentence indicates that Jeff is mentioning the visual synopsis in his proposal while planning a media project?
    10·1 answer
  • A serial schedule:
    8·1 answer
  • Prior to the 1996 NEC, ____ receptacles and cords were permitted. However, now it is mandatory that a separate equipment groundi
    11·1 answer
  • Elena wrote the following code in Scratch to have the sprite move and then turn around. However, the code does not work as expec
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!