I was wondering if it is possible to convert conditional statements from a text file straight to code. For example, if in a text file I had:
if(a.getId()==1){System.out.println("YES");}
Is it possible to directly call that into a program, such as this:
for(Node a : nodes){
>>> The statement from file <<<
}
Hope that makes sense, and thanks in advance. :)