logo

Crowdly

Browser

Додати до Chrome

Which of the following statements about instanceof are correct? 1) instanceo...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

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.

❌
✅
✅
✅
Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.jku.at?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome