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

How warnings are retrieved in JDBC?

1 Answers  


What is jdbc driver manager?

0 Answers  


Can resultset be null in java?

0 Answers  


Write an sql to find all records having all numeric characters in a field ?

0 Answers  


Explain about column name and getter method?

0 Answers  


What is jdbc in java?

0 Answers  


What is a datasource in java?

0 Answers  


What is jdbc type?

0 Answers  


What is in terms of jdbc a datasource?

0 Answers  


Define preparedstatement.

0 Answers  


What is database deadlock ? How can we avoid them?

0 Answers  


What is difference between jdbc and odbc?

0 Answers  


Categories