✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following statements about instanceof are correct?1) instanceof is a binary operator.2) Assume that class A implements interface B, B b = new A(). Then, the expression "b instanceof A" is true.3) The following is given: B b = new A(). Then, the expression "b instanceof B" is true.4) Assume that A is a class and the variable a is of type A (A a;). The expression "a instanceof A" creates an instance of class A.