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...

What is hard code & soft code?

Answer Posted / devnaga

Hard code is the code directly used in the program. Soft
code gets the information dynamically from outside. For
example, to get the database connectivity, if we passed the
url, username & password for thin drivers in the
programming itself is hard coding. At the same time, if we
create a jndi for the above in config & get it in the
program using jndi name is softcode. It is becoz to change
the db connectivity settings we need not modify the program.

Is This Answer Correct ?    66 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static synchronization?

1106


Explain super keyword in java.

1036


Can you create an object of an abstract class?

1022


What purpose do the keywords final, finally, and finalize fulfill?

1095


What is difference between arraylist and list in java?

1090


Is singleton set an interval?

967


Explain oops concepts in detail?

1029


Do we need to manually write Copy Constructor?

1033


What is a stringbuffer?

971


What's the purpose of static methods and static variables?

1100


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

983


What is the primary benefit of encapsulation?

1088


What is the properties class?

1091


What modifiers may be used with a top-level class?

1064


What is difference between path and classpath variables?

1094