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
fomenos
3 years ago
11

Consider having three String variables a, b, and c. The statement c = a + b; also can be achieved by saying_____________.a. c =

a.length( ) + b.length( );b. c = (int) a + (int) b;c. c = a.concat(b);d. c = b.concat(a);e. c = a.plus(b);
Computers and Technology
1 answer:
Alik [6]3 years ago
3 0

Answer:

Option(c) i.e "c = a.concat(b); " is the correct answer to the given question.

Explanation:

In Java Programming language the concat function in the string is used to merge the two string .it is similar with the "+" operator in string means if we use "+" between the two string this will also merge the two string .

  • Following are the syntax of concat function

         string1.concat(string2);

  • For example

public class Main // main class

{

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

{

   

    String a="san";// varible declaration

    String b="ran";// varible declaration

    String c;// varible declaration

    c=a+b;// merge the two string

   System.out.println(c);// display the string c

    c=a.concat(b);//merge the two string

 System.out.println(c);// display the string c

}

}

Output:

sanran

sanran

  • All the others options are not used to merge the string that's why the others option are incorrect.
You might be interested in
A data analyst is using the Color tool in Tableau to apply a color scheme to a data visualization. They want the visualization t
alina1380 [7]

Answer:

Color contrast is the difference in light between font (or anything in the foreground) and its background.

Explanation:

In web accessibility, how well one color stands out from another color determines whether or not most people will be able to read the information.

Contrast makes things look different and stand out

6 0
3 years ago
A data _____ is a collection of data from a variety of sources used to support decision-making applications and generate busines
Blababa [14]

Answer:

warehouse

Explanation:

A bit similar to a database, a data warehouse is a collection or large store of data from different sources that businesses and organization can use to make intelligent business decisions. The data sources for a data warehouse are typically databases from different vendors and architectures.

Data warehouses are typically data repositories used by organizations for data analysis and reporting purposes.

3 0
3 years ago
The question is in the photo
Anastaziya [24]

Answer:

a

the most suitable answer

8 0
3 years ago
Series-connected 11-pF and 21-pF capacitors are placed in parallel with series-connected 22- pF and 30-pF capacitors. Determine
Naya [18.7K]

Answer:

19.9 pF

Explanation:

Given that:

Series connection :

11pF and 21pF

C1 = 11pF ; C2 = 21pF

Cseries = (C1*C2)/ C1 + C2

Cseries = (11 * 21) / (11 + 21)

Cseries = 7.21875 pF

C1 = 22pF ; C2 = 30pF

Cseries = (C1*C2)/ C1 + C2

Cseries = (22 * 30) / (22 + 30)

Cseries = 12.6923 pF

Equivalent capacitance is in parallel, thus,

7.21875pF + 12.6923 pF = 19.91105 pF

= 19.9 pF

8 0
3 years ago
an IPv6 packet has a 40 byte base header, a 20 byte destination options extension header (which is not used for routing) and 200
NISA [10]

Answer:

Explanation:

Given, total payload is: 2000 bytes

 MTU is: 1500 bytes

 Header is: 20 bytes

 Base header is: 40 bytes

Total number of fragments = Total Payload / MTU

                                            = 2500 / 1500

                                            = 2 fragments

Fragment     Base header    Fragmentation header     Authentication  

                                                                                                     header + Data

1                  40 bytes                  8 bytes                              20 bytes +772bytes

2                 40 bytes                   8 bytes                                 792 bytes

7 0
3 years ago
Other questions:
  • Select the correct answer.
    7·2 answers
  • The combination of two or more technologies or data feeds into a single, integrated tool is referred to as a _____.
    7·1 answer
  • Which of the following is NOT an example of input?
    8·1 answer
  • An elevator of mass 250kg is carrying two persons whose masses are 50kg and 100kg. if the force exerted by the motor is 3000N. C
    12·1 answer
  • Describe the process of normalization and why it is needed.
    12·1 answer
  • Match each of the following terms to its definition: I. web-based II. open source III. project management IV. personal informati
    12·1 answer
  • Select the correct answer from each drop-down menu.
    5·2 answers
  • Write a program to generate the 1,8,27,64,125,226,343,512,729,1000 series.​
    12·1 answer
  • Compare and contrast hardware and software.
    11·2 answers
  • Which file format produces a lock-down version of an access database? accdb accdb-be accde accdb-e
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!