javakeywords

Java instanceof

Java instanceof In Java, instanceof is a keyword used for checking if a reference variable contains a given type of object reference or not(class or subclass or interface).It is known as a comparison operator where the instance is getting compared to type returning boolean true or false as in Java we do not have 0 and 1 […]

Java instanceof Read More »

Keywords

Java Keywords Java keywords are the reserved words which have a predefined meaning to the Java compiler. These predefined words cannot be used as a variable or object name or class name and if we use it we will get a compile error. List of Java Keywords : abstract: It is used to declare an

Keywords Read More »

Scroll to Top