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
Why is boolean important?
java program with complete 4 oops concepts implemented example
What are static initalizers in java ?
Can we serialize singleton class?
How does compareto method work?
What is the difference between checked exception and unchecked exception?
What are the data types supported by java? What is autoboxing and unboxing?
What is supplier in java?
What restrictions are placed on method overloading?
What is the synchronized method modifier?
Explain different types of thread priorities ?
How are the elements of a gridbaglayout organized in java programming?
Difference between java and javascript
What is a subsequence of a string?
Is it necessary for the port addresses to be unique? Explain with reason.