What does "p" in "javap" stand for? (The "c" in "javac" stands for compiler)
相关问题
- Inner Class in Java
- Bug in Local variable Table construction when Usin
- Does javac also inline?
- Constructor Inside Inner Static Class in java?
- Displaying generic type parameters from compiled c
相关文章
- Inner Class in Java
- 从编译的类文件显示泛型类型参数(Displaying generic type parameters
- Bug in Local variable Table construction when Usin
- Java的:javap的错误:无法找到的.class(Java : javap ERROR:Coul
- javap的以可编程方式(javap in a programmable way)
- Does javac also inline?
- 如何打印的阶级结构中使用的javap工具jar文件?(How do I print the clas
- Constructor Inside Inner Static Class in java?
javap
is part of the official Java tools and allows to disassemble one or more class files.The "p" in this case stands for print, as in the official documentation is reported that:
It prints the methods declarations in your class and its a very good way to see the how your compiler has interpreted your code and convert your source file into .class format.
By default,
javap
prints declarations of the non-private members of each of the classes specified on the command lineReference : http://docstore.mik.ua/orelly/java/javanut/ch16_08.htm
it stands for java printer....
It lists all the methods and variable the specified class contains. You just need to paas the class name with javap command on command-line. e.g. C:\jdk1.3\bin> javap java.lang.Object it will list all the methods Object class contains.
The javap command disassembles one or more class files. Its output depends on the options used. If no options are used, javap prints out the package, protected, and public fields and methods of the classes passed to it. javap prints its output to stdout.