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 does adapter class provide?
Is jdbc secure?
What types of DataSource objects are specified in the Optional Package?
In JDBC, All the API?s are interfaces? Where is the actual implementation?
signature of init method?
What are cursor attributes?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
What are the packages are used in jdbc?
How can we execute stored procedures using callablestatement?
What is database deadlock ?
Name the types of jdbc drivers.
Which Java and java.sql data types map to my specific database types?