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
javapcommand disassembles one or more class files and shows the byte code information. where as, Decompiling is something which converts these byte codes into java source code.