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
Is it necessary for the port addresses to be unique? Explain with reason.
How many types of methods are there in java?
Can you inherit a constructor java?
Explain the difference between association, aggregation and inheritance relationships.
What is widening and narrowing in java? Discuss with an example.
Explain the use of shift operator in java. Can you give some examples?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What is the purpose of extern variable?
Explain what access modifiers can be used for methods?
When is an object subject to garbage collection?
Have you ever used hashtable and dictionary?
What is data member in java?
Is java code slower than native code?
How do I get a substring?
Is null or empty java?