N
N
Nastya19202020-11-07 11:41:15
Java
Nastya1920, 2020-11-07 11:41:15

How to understand what to use: reflection, references, interface?

Hey!
Help, please, with understanding and searching for information: in what cases, when building a universal algorithm that works on arbitrary 3rd party class trees as input, is it better to access data:
1. using method references?
2. Reflective method access?
3. With interfaces?

Thank you very much!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question