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 do I know which jdbc driver to use?
State the different connection methods used for creating different types of sql.
What is a jdbc driver and how many jdbc drivers are available?
Explain the process of creating tables using NetBeans IDE?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
What are the considerations for deciding on transaction boundaries?
How to connect html page to database using jdbc?
What is ODBC and JDBC? How do you connect the Database?
How do java applications access the database using jdbc?
Write an sql to find all records having all numeric characters in a field ?
Why do you use a data source object for a connection?
Is it possible to connect to multiple databases simultaneously?
What is benefit of using preparedstatement in java?
What is ojdbc14 jar?
What is the return type of execute, executequery and executeupdate?