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 are collection pools?
Is jdbc a protocol?
What are the advantages of using preparedstatement in java?
What are the steps required to execute a query in jdbc?
What are the steps to connect to the database in java?
Does sql allow null values ?
What causes the "No suitable driver" error?
Explain about the Try Block?
What are the jdbc api components?
Is jpa faster than jdbc?
What is the major difference between java.util.date and java.sql.date data type?
What are the benefits of PreparedStatement over Statement?
What are temp tables ?
What is a statement in java?
What are restrictions on triggers?