If you are given a Jar file , How can you go through it understand what it does
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. If you are given a Jar file , How can you go through it understand what it does2018-01-21 17:49:59

Ans. It depends on if the jar file has source files or not. If it does have , I can open it in an IDE. If not, I can try looking documentation online if it's a public library or framework. If it's not a public library and no source file available, We can use a decompiler to generate source files from compiled class files.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     jar


Related Questions

  Can we generate Java Documentation using Export -> JavaDoc using a jar file ?
  How can I change the default location of the generated jar when I command "mvn package"?
  What would you do if you have to add a jar to the project using Maven ?
  Difference between jar , war and ear ?
 If you are given a choice to have a functionality shared either through dependency or through a Web service, which one will you choose ?
 Given 2 jars of 5 ltr and 3 ltr, how will you get 4 ltrs in one of those jars ?
 Can we deploy an application to server using a jar file ?
 What is Jar ?
 Why do we have multiple core java jars in java 9 ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: