| |
GeekInterview.com > Interview Questions > J2EE > Java
| Print | |
Question: How to convert .class to .java?
Answer: how to convert or achieve the program from .class file?? |
| June 06, 2008 01:25:20 |
#2 |
| nareshv1 |
Member Since: June 2008 Total Comments: 2 |
RE: How to convert .class to .java? |
Using jadclipse pluging installed in ur IDE,u can view the class files like java files, but u will not be able to edit.
To make a class file into java file in editable format, get the jad.exe file in crompt prompt, goto the file location, keep the jad.exe where the class file is present and run the command
jad <Filename>.class The output will be filaname.jad, u can rename them as java file and use it again
The jad doesnt bring the comments and import statements which were there in the class file |
| |
Back To Question | |