answersLogoWhite

0

The javap command is used to disassemble 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.

For example: javap java.lang.String dumps all the methods for the String class.

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Engineering

How do you compile and execute Java program in which we find the highest of any five numbers?

In the same way as you would compile and execute any other Java program. Compile: use the "javac" command. Or use the built-in "compile" command in your favorite IDE. Execute: Use the "java" command. Or use the built-in "run" command in your favorite IDE.


What command lines extract the contents of jar file tools.jar?

To extract the contents of a JAR file like tools.jar, you can use the jar command or unzip. Using the jar command, the syntax is: jar xf tools.jar Alternatively, you can use the unzip command: unzip tools.jar Both commands will extract the contents of the JAR file into the current directory.


How can i see all the classes and interfaces present in a predefined package in java in command prompt?

use the jar command like this: jar tvf mypackage.jar


How do you send commands to a command-line EXE program from a batch?

Just put the commands in your batch file. When someone runs the program, it will execute the commands it comes across line-by-line. - Example Batch Script: This script will run an application EXE file with command line parameters. This will use the shutdown.exe file that comes with windows. It shuts down the computer in 60 seconds. @shutdown -s -t 60 - You could also use the START command. For any command or exe file that runs from the command line, you could open a command prompt and type the name of the file followed by /? to find out what you can use as command parameters. Example: START /?


What is the difference between the put and the mput?

Both will operate same but i recommend you that if there is only single file use "PUT" and if there are multiple files then you can use "MPUT"...... if there is only single file and if we use MPUT command thgen it will bit slower than PUT command.