Answer Posted / 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 |
Post New Answer View All Answers
What do you understand by jdbc datasource?
What is jdbc and jpa?
Explain what should be done when a SQL exception is raised?
Explain the difference between inner and outer join ?
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What is jdbc driver in java?
Can we have foreign key reference to a non primary key column ?
What are dml and ddl?
What are the differences between resultset and rowset?
What are the different types of locking in JDBC?
What are the flow statements of jdbc?
please tell me the name and url path for type-4 driver ?
How are jdbc statements used?
What is the purpose of jdbc?
What happens if connection is not closed in jdbc?