Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8503037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:38:56+00:00 2026-06-11T01:38:56+00:00

I used to think Java can be decompiled because it compiles into byte code

  • 0

I used to think Java can be decompiled because it compiles into byte code and not object code. This is wrong because of the implicit assumption byte code is some how “more human readable” than object code. Why can programs written in Java be so easily decompiled and even have the same identifiers (variable names)? I heard in C/C++ it can only disassemble to assembly but no decompile to source code, why so?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:38:57+00:00Added an answer on June 11, 2026 at 1:38 am

    Java compilers keeps most of the original information and does very little optimisation when producing the byte code. The compilers task is to validate the code so it can be dynamically optimised. Note: Excelisor compiles to native code and imagine would be difficult to decompile (at least that what their marketing says 😉

    C/C++ is compiled and optimised as much as possible, discarding a lot of the original information. (With the exception for debug information) This makes it much more difficult to untangle into sensible C or C++.

    Note: these are features of the compilers common used for those languages. Not features of the languages themselves.

    In terms of the difference in languages, all you can say is that Java is relatively feature poor compared with C++. Less features makes less compiled patterns to understand and reverse engineer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think the following code can be used to create manipulators. #include<iostream> ostream &
I think this is a case of me not knowing javascript, but I can't
I think I may misunderstand why the with command is used. But can any
I'm not very used to programming with flags, but I think I just found
I've looked at this every way I can think... The problem is that I
I've heard that the advantage of java is that people can write code, compile
This is something I used to do in Java, I was wondering if there
I'm looking for a Java API which can be used to retreive Maven artifacts
Been a while since I've used C++. Can I do something like this?: for
Java and C# support the notion of classes that can't be used as base

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.