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 is jdbc and explain jdbc architecture?
When does the result for an sql statement return null?
What is preparedstatement in jdbc?
What is the difference between execute, executeQuery, executeUpdate?
Discuss the procedure of retrieving warnings?
What is a merge field?
In which ways is driver class is registered with drive manager?
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
What are the different types of JDBC drivers?
What causes the "No suitable driver" error?
Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.
Name the method, which is used to prepare a callablestatement.
What is jdbc? Describe the steps needed to execute a sql query using jdbc.
What is jdbc dialect?
What is a statement in java?