A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

String Operations

String Operations

What is String Operations in Java? String Concatenation

String Concatenation in Java: The + operator is used to concatenating two strings and producing a String object as the result.





/* Program for String Concatenation */
class HB5
{
  public static void main(String args[])
  {
   String name = "Heera";
   String full ="My Full name is "+ name+" Babu";
   System.out.println(full);
  }
}


 

Sample Output

LEARN TUTORIALS

.

.