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 a map? What are the implementations of map?
What is the synonym of procedure?
What do you mean by byte code?
What is a java list?
What is void class in java?
What is the difference between notify and notifyall method?
What are the features of java?
Are arrays dynamic in java?
Is string a datatype?
What is deserialization?
How do you read a char in java?
What is the char data type?
What will happen if static modifier is removed from the signature of the main method?
How do you take thread dump in java?
What is a jagged array in java?