Ankit Garg wrote:But this is weird that different decompilers show different things
The transformation from
Java source code to Java byte code that a Java compiler does, is not exactly one to one. Therefore, it's not possible to get the exact original source code back from the byte code. Different decompilers might interpret the byte code a little differently, and show different decompiled source code.
You can use the javap tool included with the JDK to see what the byte code looks like. Try something like:
javap -c ClassName