Friday, 4 July 2014

How to concatenate or combine two Strings

How to combine two Strings


package com.vipul;

public class Stingconcatenate {

      /**
      * How to combine two Strings
      * @param args
      */
      public static void main(String[] args) {
            String firstName = "Vipul";
            String lastName  = "Gulhane";
            String fullName  = firstName + lastName;
            System.out.println("Stingconcatenate is "+fullName);
      }

}

==========================================================================
Maven + eclipse related 
An internal error occurred during: "Importing Maven projects". Unsupported IClasspathEntry kind=4 fixed

==================================================================================

No comments:

Post a Comment