Many times, we need to understand what a compiler is doing under the hood. How java statements we are writing, will be reordered and executed. Also, we need to see the byte code for learning purpose also, I do it seldom.
[Your class name]will create
[Your class name].class
[Your class name].class> bytefile.bc
Look at example below, bytecode is demo as below