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

Does jdbctemplate use prepared statements?

0 Answers  


What are temp tables ?

0 Answers  


Does multiple concurrent open statements per connection are supported by the JDBC-ODBC Bridge?

2 Answers  


List some new features available in jdbc 4.0?

0 Answers  


What is a rollback in jdbc?

0 Answers  


How do I know which jdbc driver to use?

0 Answers  


Does JDBC support stored procedures?

0 Answers  


What is JDBC RowSet? What are different types of RowSet?

0 Answers  


can we create a own jdbc driver? how can we create?

1 Answers   HCL,


How to get the data from a table into a buffer?

2 Answers  


Does sql allow null values ? Can we use it within where clause ?

0 Answers  


What are the different types of interfaces in the api component?

0 Answers  


Categories