I have a select query where i am retrieving column values like
select city,state,country from abc
and then fetching it using result set
city=rs.getString(1),state=rs.getString(2)
and so on
Now have to print like I live in city in state in country in java
can i give this way like
String a="I live in %city% in %state% in %country%"
will it work using %% symbol