Answer Posted / siri
As Pointers are not safe and secure which allows us to increament or decreament the memory locations such that we can reach the O.S related files.
So to avoid such insecurities we go with Reference Varaibles where we can't increament or decrement memory location of an object.Even if we try to print the address of the object it prints some hash code
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is a java object and java application?
What is an enumeration?
What is stack class in java?
How to display all the prime numbers between 1 and 100
What is a singleton in genetics?
What is busy spin, and why should you use it?
How do you define a method?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What comes to mind when someone mentions a shallow copy in java?
explain copyonwritearraylist and when do we use copyonwritearraylist?
When throw keyword is used?
What language is an assembler written in?
What is the difference between int and integer in java?
What is the size of an array?
Explain different types of wrapper classes in java?