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
what is meant by HQL?
How to provide security in java
make a method which any number and any type of argument and print sum of that arguments.....
How do you take thread dump in java?
What is dynamic array in java?
Give me some null interfaces in java?
What does indexof return in java?
What is compiler and what its output.
What is local declaration?
How do you reverse a word in java?
Why do we need array in java?
Why is singleton instance static?
Is linkedlist thread safe in java?
Enlist few advantages of inheritance?
What are the different types of inner classes?