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 occurs when an object is constructed?
How can you generate random numbers in java?
How to store image in arraylist in java?
What is a finally block?
Can a class have 2 constructors?
What is split return?
How can you handle java exceptions?
What are the types of casting?
What is internal iteration in java se 8?
What is the difference between the file and randomaccessfile classes?
What is int short for?
What is file in java?
What do you mean by chromounits in java8?
worst case complexities of Quick sort and Merge sort.
What are the principle concepts of oops?