javap tool is one of the JDK tools used to disassemble class files. The benefits of using this tool is to understand how the compiler deals with our code in case we have doubts about some of the micro-optimization techniques.
The syntax of the tool is as follows:
javap [options] <classes>
We can add many classes and separate them using spaces. The most important options are as follows:
-l: This option is to print line and local variable tables
-public: This option is to show only public classes and members
-protected: This option is to show only protected and public classes and members
-package: This option is ...