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
Does isempty check for null?
Which eclipse is best for java?
Which graphs are functions?
What does it mean that a method or field is “static”?
What is xslt in java?
What occurs when an object is constructed?
What is the difference between @before and @beforeclass annotation?
What are keywords in java?
Can memory leak happen java?
Explain differences between collection api and stream api?
How do you stop a thread in java?
Why we used vector class?
how to split string in java?
How do you achieve polymorphism in java?
Is jdk required on each machine to run a java program?