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
Can a class declared as private be accessed outside it’s package?
Explain about collection interface in java?
When we should use serialization?
Write code of any action class?
Is main is a keyword?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
Does .length start 0 java?
What is class and object in java?
Is minecraft java edition free?
what is meant wrapper classes?
What type of language is java?
Why is core java important?
What are packages in java?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
How many types of exception can occur in a java program?