Does String have any internal mechanism to check existence of object in String constant pool?

I know that When i do below:
String s = “abc”;

JVM checks for the “abc” object on string constant pool and if not present, it will create the object and its reference will be returned to s variable.

But here i want to get clear one thing that Do String have any internal mechanism to check existence of such object.


Download does.string.have.any.internal.mechanism.to.check.existence.of.object.in.string.constant.pool.zip
Direct Link


Download


Download does.string.have.any.internal.mechanism.to.check.existence.of.object.in.string.constant.pool.zip
Mediafire


Download


Download does.string.have.any.internal.mechanism.to.check.existence.of.object.in.string.constant.pool.zip
Nornar


Download