This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using HTML as a front end with java. My html form has two fields, Name, and Id. But, in database i have created 3 columns, Name,Id and Username. Username should have the concatenated value of Name,and Id. I have to concatenate them in java class. How to do that?
Suppose Name entered is 'ONE', and ID,'100', then username should be 'ONE100'. Will concat() of String class will work for this?