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
Does A Class Inherit The Constructors Of Its Superclass?
What is the history of java?
Can we force garbage collector to run ?
How does hashset works in java?
List down the methods and interfaces of collection class in java.
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
How we can execute any code even before main method?
what do you understand by synchronization? : Java thread
What is a predicate method?
How to create a custom exception?
Differentiate between class and structure.
How big is a 32 bit integer?
What is module in project?
What is the longest unicode character?
I want to print “hello” even before main is executed. How will you acheive that?