Answer the question
In order to leave comments, you need to log in
Is it possible to pull off such a feint with ears in java?
I have a program written in java.
1) During the execution of this program, the list List is formed.
2) In the process of execution , a valid Java source containing the some(List) function comes to this program from the outside . The
question is how to execute the some() function at runtime by passing the List list formed at step 1 into it. Is it possible. If possible, please poke your nose what and where to read on this topic
Answer the question
In order to leave comments, you need to log in
This task can be solved using the Compiler API. You can see an example of usage in this answer .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question