java decompilers
hello i am little new to all this but i want to know that: as you know there are many decompilers for java to decompile .class files to .java files. i really wonder that what is the logic behind decompilers? I know when we compile a java code, firstly it is converted to byte code and machine code. i think decompilers convert bytecodes to java codes. actually i want to know that are decompilers a part of the reverse engineering or it is just a simple decryption? if  so, how to be done? thanks for answers..
java decompilers
===

hello i am little new to all this but i want to know that: as you know there are many decompilers for java to decompile .class files to .java files. i really wonder that what is the logic behind decompilers? I know when we compile a java code, firstly it is converted to byte code and machine code. i think decompilers convert bytecodes to java codes. actually i want to know that are decompilers a part of the reverse engineering or it is just a simple decryption? if  so, how to be done? thanks for answers..