why java does not contain pointers?
Answer Posted / pratiksha
pointers are dangerous and lead to memory leaks, memory
corruption, invalid memory access, e.g. from uninitialized
and improperly initialized variables, indexing out of
bounds, and many bugs due to pointer arithmetic.
References, and other features related to these, avoid all
these problems.
Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
Why are variables important in research?
How many bytes are a float?
How are variables stored in memory?
Why is it called a string?
How do you define a variable?
Where is java located?
How many bits is a char?
Which package is always imported by default?
What is exception propagation?
What are the 6 boolean operators?
How do you get the length of a string in java?
how can you catch multiple exceptions in java?
How do you declare an empty string?
What do you mean by composition in java?
Is singleton set an interval?