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 |
How warnings are retrieved in JDBC?
What is jdbc driver manager?
Can resultset be null in java?
Write an sql to find all records having all numeric characters in a field ?
Explain about column name and getter method?
What is jdbc in java?
What is a datasource in java?
What is jdbc type?
What is in terms of jdbc a datasource?
Define preparedstatement.
What is database deadlock ? How can we avoid them?
What is difference between jdbc and odbc?