Results 1 to 3 of 3
Thread: String Creation
- 05-15-2016, 06:24 PM #1
Member
- Join Date
- May 2016
- Posts
- 1
- Rep Power
- 0
String Creation
Hello, I have a question about how to define a string. If I want to add an int variable after some characters, so that if the integer is changed, the string can be changed as well. I know int and string are different types. Can I just put it this way?
int number=10;
String test="It shows "+number;
Thanks
- 05-15-2016, 09:23 PM #2
Re: String Creation
Can I just put it this way?
If you have problems with your test program, post the code and describe the problems you are having with it.
Be sure to wrap the code in code tags.If you don't understand my response, don't ignore it, ask a question.
- 05-16-2016, 01:23 AM #3
Member
- Join Date
- May 2016
- Location
- Puerto Rico
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
dynamic creation of datasources in weblogic, remote creation of jndi's through java?
By prasanth raju in forum JDBCReplies: 0Last Post: 05-18-2012, 02:29 PM -
GUI Creation
By swiftshadow329 in forum New To JavaReplies: 1Last Post: 04-24-2012, 01:57 AM -
String/ object creation/ efficiency
By mac in forum New To JavaReplies: 5Last Post: 06-06-2010, 03:57 PM -
String Object Creation
By indranil in forum New To JavaReplies: 1Last Post: 04-13-2010, 12:30 PM -
bmp creation
By makpandian in forum New To JavaReplies: 1Last Post: 12-17-2008, 06:33 PM
Bookmarks