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 called module?
Why java is not 100% object-oriented?
Difference between method overloading and method overriding in java ?
What is the difference between path and classpath variables?
What is the difference between reader/writer and inputstream/output stream?
What is the access scope of protected access specifier?
What is boolean query?
What is functional interface in java example?
What is a heavyweight component?
What happens if an exception is throws from an object's destructor?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
How to create a base64 decoder in java8?
Which class is the superclass for all the classes?
How will you reverse a singly-link list?
How to retrieve data from database in java using arraylist?