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?

Answers were Sorted based on User's Feedback



What is hard code & soft code?..

Answer / chandu

hard code is nothing but fix up values to variables for
end of application
eg:String s="chandu"; here chandu is fix up for the
variable--> s

softcode is getting values dynamicaaly from outside like
xml or database and placing into variables

eg:String s=""; it can be any thing like chandu or ramu

Is This Answer Correct ?    90 Yes 5 No

What is hard code & soft code?..

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

What is hard code & soft code?..

Answer / gaurav agrawal

value given at runtime is called softcode and value which
is static and given at the time of creation of the program
is called hard coded.

Is This Answer Correct ?    38 Yes 10 No

What is hard code & soft code?..

Answer / ohm nathan

The value of the variable assigned in the code itself is
called Hard Coded.
Instead of this assigning the value at runtime/dynamically
is called Soft Coded.

Is This Answer Correct ?    24 Yes 4 No

What is hard code & soft code?..

Answer / razorx

To "hardcode" is to write an absolute value (not a variable or another dynamic data) directly in an application's source code. It's sometimes necessary for e.g. to provide fixed installation path or to detect the piracy or counterfeiting etc.

Is This Answer Correct ?    9 Yes 3 No

What is hard code & soft code?..

Answer / anusha

Hard code is a code directly assigned to a variable. It is fixed value cannot be changed.

Soft code is a code it gives dynamically, it gives runtime.

Is This Answer Correct ?    6 Yes 0 No

What is hard code & soft code?..

Answer / sivakumar

Hard code is the code which is to be used before finalized
one. It can be changed by the programmer before going to
finalised.

Is This Answer Correct ?    17 Yes 29 No

Post New Answer

More Core Java Interview Questions

How does java pattern compile work?

0 Answers  


How can we make string upper case or lower case?

0 Answers  


What are the two types of java programming?

0 Answers  


What is difference between class and object in java?

0 Answers  


what is the purpose of "virtual"?

0 Answers   EDS,


In Java, what are this() and super(), and where are you required to use them?

2 Answers  


What are the supported platforms by java programming language?

0 Answers  


explain autoboxing in java?

0 Answers  


What is double parsedouble in java?

0 Answers  


Differentiate between a class and an object.

0 Answers  


What is the difference between inner class and nested class?

0 Answers  


what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?

3 Answers  


Categories