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
What does += mean in java?
How to display arraylist values in java?
What is double parsedouble in java?
In how many ways we can do synchronization in java?
Describe the process as to how substring() methodology mechanisms in java.
What is the right data type to represent a price in java?
Will the jvm load the package twice at runtime?
How do you include a string in java?
Why is singleton not thread safe?
What is collection class in java? List down its methods and interfaces.
What is the equal sign?
What is final access modifier in java?
Is a boolean 1 bit?
what is abstract class in Java?
What is the difference between class forname and new?