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
What do you mean by access modifier?
What is connection class in java?
What is the disadvantage of java?
What is singleton class in java and how can we make a class singleton?
What is a line break?
What is the difference between path and classpath variables?
Is empty .java file name a valid source file name?
What is difference between iterator and enumeration in java?
Explain about the interpreter in java?
Why are data types important?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is the use of list in java?
What super () does in java?
What is unicode in java?
Difference between linkedlist and arraylist.