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
Which type of backup ensures you capture a complete snapshot of everything that makes your computer run?.
Elanso [62]

Answer:

Answer is D / If not : A full image backup, or mirror backup

Explanation:

is an exact replica of everything on your computer's hard drive, from the operating system, boot information, apps, and hidden files to your preferences and settings. Imaging software not only captures individual files, but everything you need to get your system running again.

Thanks for asking this question. If my response helped, please mark as brainliest. Thank you!

5 0
3 years ago
5. Name the special window that displays data, when you insert a chart.
AVprozaik [17]

Answer:

A.Datasheet

Explanation:

I hope it's helpful

7 0
3 years ago
Mainframe computers have several CPUs, have very fast processor speeds, can supporting multiple operating systems and have huge
Marrrta [24]

Answer:

True.

Explanation:

Mainframe computers were developed and introduced in the early 1950s.

Mainframe computers have several CPUs, have very fast processor speeds, can supporting multiple operating systems and have huge amounts of storage capacity. As a result, mainframe computers are mostly or commonly used by large companies, business firms or governmental institutions for performing various complex tasks such as census, financial transactions, e-commerce, data sequencing, enterprise resource planning, etc.

7 0
3 years ago
Describe the objectives of e-commerce ?​
AnnZ [28]

Answer: eCommerce is to reach the more and right customers at the right time so that more orders can be placed and in turns, high revenue can be generated.

Explanation:

5 0
3 years ago
Which of the following was not important in the development of the internet?
lesantik [10]
D. Rise of NASA.Hope I helped.
8 0
4 years ago
Read 2 more answers
Other questions:
  • Jasmine took many pictures at a photo shoot. She wants to transfer these pictures from her camera to her laptop for image enhanc
    10·2 answers
  • _____ is the unauthorized entry into a computer system via any means
    9·1 answer
  • By which method is heat transferred through a metal <br> spoon?
    9·2 answers
  • Clarisse is setting the white spaces at the edge of her Word document to be 1 inch. She is setting the _____.
    7·1 answer
  • Which of the following representations in two's complement notation represents the largest value?
    12·2 answers
  • When I press F3, F4, and any of my apps on my mac why wouldn't it do anything? Do you have a way to solve this problem? When I p
    10·2 answers
  • What steps should you take if your harassed online​
    9·2 answers
  • Is a system software that manages the hardware resources and provides services 5o the application software
    6·1 answer
  • What does Technology mean to you?​
    9·2 answers
  • What is a Type 10 SD card?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!