From now on,I want to review some about Java.
Because I am a dev about Sahi,just about the automation testing script,so I am afraid of my java info have been forgotten.I still want to get a job about the java web dev.
Today I got some info about the java object.
PS.if I can show my perception by using English correctly,so use English.If I think chinese can express my idea more clearly,then I will use chinese.
Instance of is java keyword ,just like the == > <,it always use for comparing the left object with the right object,and this will return the data which type is boolean.
For example:
String s = "this is an object";
boolean isObject = s instanceof Object;
We init a string that point to the String object,and then want to use the instance of to test the String s is a object.Obviously,it will return true.
But I think that it is not do well about polymorphyism(多态),so just know.