Posts Tagged ‘java class file’

10 Most Useful Java Best Practice Quotes for Java Developers

10 Most Useful Java Best Practice Quotes for Java Developers
Quote 1: Avoid creating unnecessary objects and always prefer to do Lazy Initialization Object creation in Java is one of the most expensive operation in terms of memory utilization and performance impact. It is thus advisable to create or initialize an object only when it is required in the code.public class Countries {private List countries; public ...

Java Garbage Collection Simplified

Garbage collection is a way in which Java recollects the space occupied by loitering objects. By doing so, it ensures that your application never runs out of memory (though we cannot be assured that the program will ever run out of memory).

Protect Java code from decompilation using Java Obfuscator

Protect Java code from decompilation using Java Obfuscator
If you are writing Java classes and distributing them over the Internet, you should know that people can reverse-engineer, disassemble, or decompile your classes into Java source code. One of such decompiler is JAD. In this article we discuss about the usage of JAD to decompile the Java class.So to make the job ...

Decompile Java Class file using decompilers.

Decompile Java Class file using decompilers.
Byte codes generated by javac compiler can again be converted into java source. For this we need a decompiler tool. Decompilers are the utilities that generate the source code from input java class file.A Decompiler knows about the structure of a Java class and parse it to generated Java source code.Java decompilers will not ...

Tutorial: Java Class file format, revealed…

Tutorial: Java Class file format, revealed...
In previous tutorial Java Virtual Machine, An inside story..., we saw some basic of internals of JVM and how it is divided into different components that helps in execution of Java byte code. Java Byte code as we saw is packed in a file called class file (with .class extension). In this tutorial let us see the internals of a class file. How the ...