This content has been marked as final. Show 2 replies
2.my doubt is insted of adding each element(class,filed,constructor,method...) seperatly
is the following is possible in javassist
The answser is no. Please use javac.
3.When we are generateing class on the fly(like in the above example),how to include packages
import is not supported yet. So all class names must be fully
qualified except java.lang.*. So write not InputStream but
Thanks a lot for your immediate reply.It completely clears my douuts.
Jai Bharat Matha