Answer Posted / mihirdash
Because in java all declare variables are known to programmer.other wise it create some logical error.let us take an example of c++/c language if declare 100 variable it is so difficult to remember which will i initialise and it will effect my output result .so,that there is no garbage values
in java.
Is This Answer Correct ? | 10 Yes | 9 No |
Post New Answer View All Answers
how can you take care of mutual exclusion using java threads? : Java thread
What environment variables do I need to set on my machine in order to be able to run java programs?
What is the technique adopted to create an immutable class?
What is the difference between throw and throws keywords?
What string is utf8?
how many types of Inheritance?
Can we serialize arraylist in java?
Can java program run without jre?
Why is the main method static?
Is there is any difference between a scrollbar and a scrollpane?
What is meant by JVM? Is JVM platform independent or not?
What is a instance variable?
Is it possible to specify multiple jndi names when deploying an ejb?
What is arrays fill in java?
What is the purpose of the runtime class in java programming?