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 |
What is an outer join?
What is the different between ResultSet and RowSet?
Stored procedure purpose?
Why do we need a jdbcrowset like wrapper around resultset?
What is batch processing and how to perform batch processing in jdbc?
How to check jdbc connection in java?
Can you define a foreign key, with a key from the same table?
How can we store the file in the oracle database?
Is jdbctemplate thread safe?
What do you understand by jdbc statements?
Where is ojdbc14 jar located?
What are the steps to connect to the database in java?