answersLogoWhite

0


Best Answer

The only reason to convert a .class file to a .java file would be to attempt to reverse engineer a piece of Java code. Disadvantages of this would include near-incomprehensible code being produced by the reverse engineering program.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the Disadvantages in converting class files to java files?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Any algo is used for converting class file to java source file?

You need a decompiler to convert class files to java source files. JAD is a Java Decompiler that can do it for you.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


What is the extension of a java byte code file?

.class is the extension of a java byte code file.


Why is my minecraftjar only class files?

"class" files are compiled Java files. Perhaps they are meant to be run with Java. It is possible that the download file has other types of downloads available, but I didn't check this.


What is wrapper class in java?

wrapper class is a predefined class .it is used for converting primitive data types into object type


How class file is created in java?

A class file is a compiled .java file and cannot be executed without jdk or java. They are often executed with .bat files in windows for convenience


How do you compile java servlet?

The Java Servlet is like every other Java class. You can compile it using the javac command or if you are using a Integrated Development Environment (IDE) like Eclipse, it will compile the class for you. One main difference w.r.t Servlets is the fact that, they get deployed into EAR files (Enterprise Archive Files) and not JAR files (Java Archive Files) like normal java apps.


Which os is build in Java compiler?

Java compiler available on multiple platforms, the class files it generates are platform-independent.


How would you convert a folder full of class files to java files with the correct names for re-compiling?

I use JD-GUI to de-compile class files back into their java equivalents. This has saved me once or twice when I lost the source code on a project and I needed to update it.


What is the file extension of an applet?

An applet is a Java application, this saves files in a .class extension


Header files in Java programming?

Java does not require header files like C/C++.


Resolve this error 4 java --Exception in thread main java.lang.UnsupportedClassVersionError milan Unsupported major.minor version 49.0?

The class/jar was compiled with a later major version of java than the version of java you are using to run the code with. So for instance the class was compiled with java 1.5 and you are running the class with java 1.4, which doesn't understand the format of 1.5 class files. check "java -version" from the command prompt.