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
How many types of JDBC Drivers are present and what are they?
What are the advantages of using preparedstatement over statement?
Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?
What is drivermanager in java?
What is odbc. how is it related to sql cli?
What is odbc and jdbc?
What is jdbc odbc bridge in java?
How do we call a stored procedure from jdbc?
Is jdbc connection secure?
What are devices?
What are JDBC Best Practices?
Which database is used with java?
What do you mean by batch processing in jdbc?
How can we retrieve the file in the oracle database?
What is metadata in programming?