0
javap -classpath /Users/amol/Documents/Java/ -l -c a

When I execute the above command in my terminal the output shows the function names in my class along with the local variables

Process process3 = Runtime.getRuntime().exec(new String[]{
          "javap","-classpath","/Users/amol/Documents/Java/","-l","-c","a"});

However when I type the above line in netbeans and run it, it only show the function names and line numbers where the local variables have been declared.

Why is there a change in the output for the same command?

Blood Sport
  • 125
  • 1
  • 2
  • 12

0 Answers0