I am preparing core java and i got following doubt
javap is dis-assembler or de-compiler? what is the difference between them? which java CLI commands are used ?
Javap is just an "informal" dis-assembler, its output gives you information about the bytecode, but is not suitable for it to be used by an "assembler", it is rather for it to be read by a human.
The traditional difference (from the C language world):
take your conclusions for "de-compiler" and "dis-assembler"
Sometimes a software that does both steps (disassemble and decompile) is also called a decompiler, but it still depends on the context
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With