how we can remove hard code in java?
Answer / sreenivas
by using command line arguments and System properties .
by using the command line arguments ,we can pass the values
from the command line as well as with same order with same
order .but in System properties, we can pass the values in
any order by using System.getProperty() meethod and pass
the values from the command line we specify the option -D
and followe by variable name=value.
| Is This Answer Correct ? | 19 Yes | 5 No |
Does jdbctemplate use prepared statements?
What are temp tables ?
Does multiple concurrent open statements per connection are supported by the JDBC-ODBC Bridge?
List some new features available in jdbc 4.0?
What is a rollback in jdbc?
How do I know which jdbc driver to use?
Does JDBC support stored procedures?
What is JDBC RowSet? What are different types of RowSet?
can we create a own jdbc driver? how can we create?
How to get the data from a table into a buffer?
Does sql allow null values ? Can we use it within where clause ?
What are the different types of interfaces in the api component?