answersLogoWhite

0

"+" is the concatenation operator in Java. It can be used to concatenate two strings.

Ex:

String firstName = "John";

String lastName = "Morrison";

System.out.println(firstName + " " + lastName);

The above code snippet would display John Morrison in the console.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can you overload plus equals in java?

yes to over load plus in java by using arthamatic operation we can perform it


Why java is preferred to dot net?

Java can run on any operation system(platform independent) but .net runs only under windows.


What version of java was used in 1995?

what version of java was used in 1995 and what kind of database was used along with java from 1995 to 1998?


Which api used in java?

The Java API is the API for the main Java Library.


Does a java script operator perform mathematical operation on 2 numbers?

some times


Differences between Java Applet and Java Beans?

Java applet is a program used to run java applications while beans is a compiler used to design java programs (IDE, GUI) :-) GilbertC


How many bitwise operators are present in Java?

The bitwise & operator performs a bitwise AND operation. The bitwise ^ operator performs a bitwise exclusive OR operation. The bitwise | operator performs a bitwise inclusive OR operation.


What is HashMap Java used for?

HashMap Java is used as a definition in Java software programming language. This version of Java is used to tag objects using hash numbers and therefore differentiate different items in different databases.


What is native variable in java?

native is a key word used in java method. there is no variable as native in java


Why cup of coffee is used for java?

coz wher java had developed ,java was the name of coffe beans.


What is the best compiler can be used to create Java programs?

A Java compiler.


Can telerik used in java?

NO