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
Define the term string pool?
what do you understand by synchronization? : Java thread
how is final different from finally and finalize in java?
How can a gui component handle its own events?
What is garbage collector?
What is the main function in java?
What are the differences between path and classpath variables?
Is string is a data type?
Is age discrete or continuous?
Does A Class Inherit The Constructors Of Its Superclass?
what is use of functional interface in java 8?
Is string thread safe in java?
What is difference between variable declaration and definition?
what is the final keyword denotes in java?
Why declare Main() inside the class in java ?