Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is javap in java ?  RSS feed

 
siva chaitanya
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i am new to java. The javap command disassembles a class file.I want to know what disassembles means.
 
siva chaitanya
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thank you Dittmer for your reply now i understand what disassembles means. It means converting machine language to assembly language. What iis the use of converting? Directly we can execute that program.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The point is to make the code human readable. With assembly language you have a chance of understanding what's going on; with machine language (which is often in hex) few mere mortals do :-)
 
siva chaitanya
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:The point is to make the code human readable. With assembly language you have a chance of understanding what's going on; with machine language (which is often in hex) few mere mortals do :-)


Thank you Dittmer now i understood very well.I also gone through several articles of java and my confusion is cleared now.Once again thank you so much for spending your valuable time for my question.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!