Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how we can remove hard code in java?



how we can remove hard code in java?..

Answer / 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

More JDBC Interview Questions

What does connection pooling mean ?

0 Answers  


What are the advantages of using preparedstatement over statement?

0 Answers  


What are the classes and methods used for sending sql statements to database?

0 Answers  


What do you mean by batch processing in jdbc?

0 Answers  


What is benefit of using preparedstatement in java?

0 Answers  


What is batch processing and how to perform batch processing in jdbc?

0 Answers  


What is meant by jdbc and odbc?

0 Answers  


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

0 Answers  


What is getconnection method in java?

0 Answers  


How can we execute stored procedures using callablestatement?

0 Answers  


Where can I find info, frameworks and example source for writing a JDBC driver?

0 Answers  


What is new in JDBC 2.0?

0 Answers  


Categories