What is hard code & soft code?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between jdk, jre, and jvm?

805


Difference between final and effectively final ?

825


What are the different types of constructor?

704


How we can declare a static variable?

864


Describe method overriding

801


When can an object reference be cast to an interface reference in java programming?

767


What is the use of static class?

773


Differentiate jar and war files?

779


How to sort elements in a parallel array in java?

679


What are default methods ?

773


What is run time allocation?

774


Which collection is thread safe in java?

728


What is tree in java?

670


What is parameter example?

769


What does %d do in java?

790