gazdzid
asked on
Java Code - Appostrophe (most likely spelled wrong)
In the code found below, Can someon tell me what the apostrophe is used for? What is its purpose?
resp = resp + "<BusinessName id='"+BusinessId+"'>"+Busi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I would like to review before assigning points. sorry for the delay
ASKER
I agree with moderator.
think initialzly resp=5
now as ur give
ur going to assign new value to resp !!
resp + "<BusinessName id='"+BusinessId+"'>"+Busi
+ for concatenate the strings ..
<BusinessName> tag ur using !!
</BusinessName> close the tag !!
property is id
u want to assign string value to id ..
so ' " +BusinessId+" '