• Register
Welcome to PAQ book, where you can ask any questions related to ABROAD
PAQBOT gives immediate answer links

How can we generate Java class at runtime?

0 votes
247 views asked Feb 6, 2014 in Programming by Nilam (140 points)

Answers by PAQBOT

PAQ Bot suggests below links for a relevent answer:

1 Answer

0 votes
If you keep the question how to generate code aside or you already have a java class compiling on the fly is not a big deal. Logically it needs to do the same Java compiling but there are APIs to do this.

You can refer the example from below link for a sample code http://mindprod.com/jgloss/onthefly.html
answered Feb 6, 2014 by vvsatya (450 points)
Thank you for reference link.
...