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

Is ++ operator thread-safe in java?

1104


What is variable argument in java?

950


Explain about varargs in java?

1058


How do you reverse a list?

949


What are the principle concepts of oops?

909


What about instanceof operator in java?

967


Which methods cannot be overridden in java?

925


When should I use stringbuffer?

960


Can a main method be declared final?

1004


What is set string?

1084


Explain java code for recursive solution's base case?

973


Write a java program to print fibonacci series?

910


What is the use of volatile in java?

997


What is the default size of load factor in hashing based collection?

988


What is the largest long allowed by java?

1007