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
Is ++ operator thread-safe in java?
What is variable argument in java?
Explain about varargs in java?
How do you reverse a list?
What are the principle concepts of oops?
What about instanceof operator in java?
Which methods cannot be overridden in java?
When should I use stringbuffer?
Can a main method be declared final?
What is set string?
Explain java code for recursive solution's base case?
Write a java program to print fibonacci series?
What is the use of volatile in java?
What is the default size of load factor in hashing based collection?
What is the largest long allowed by java?