• Post Reply Bookmark Topic Watch Topic
  • New Topic

What does this line of code mean?  RSS feed

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded a game project online so I can see how other people code.
I decompiled a .class file and I found this line of code inside.  What does it mean?


 
Ranch Hand
Posts: 662
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you would get a reply for a random decompiled code. We folks might want to first understand if whatever you did is legal and ethical.
You might want to put some references here,  like say, it is open source and the company who wrote the game are okay for users to download the code, decompile it and understand it.
That said, if it is was truly open source, they would publish a git or src code in one of the sites. 
 
Bartender
Posts: 1603
232
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Source code for this is available on GitHub.
 
Marshal
Posts: 56608
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OP: Please go through the source and see if you can find the original for that code. It is formatted even worse than code in an OCJP book and very difficult to read.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!