0 votes
in JAVA by

Which of the following is NOT a type of method reference in Java?

a) Reference to a static method

b) Reference to an instance method of an object of a particular class

c) Reference to an instance method of an arbitrary object of a particular class

d) Reference to an instance variable of an object

1 Answer

0 votes
by
Answer: d) Reference to an instance variable of an object

Explanation: There is no type of method reference in Java that refers to an instance variable of an object.

Related questions

0 votes
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
0 votes
asked May 2 in JAVA by Robin
...