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
Can memory leak in java?
I want to print “hello” even before main is executed. How will you acheive that?
What methods are used in Servlet?Applet communication?
Explain about doubly linked list
What is anagram word?
How many tetrahedral voids are there in bcc?
Why singleton is not thread safe?
Are floats faster than doubles?
what is predefined function in java?
Why does java not allow multiple public classes in a java file ?
What are keywords in programming?
How to Sort Strings which are given in List and display in ascending order without using java api.
What is identifier with example?
who can i handle multiple client in RMI
Which is bigger float or double java?