Keywords in Java

Java is too verbose

instanceof

public class Main {
    public static void main(String args[]) {
        String name = "Uday Yadav";

        boolean result = name instanceof String;
        System.out.println(result);
    }
}

Last updated