- Wednesday, February 10, 2010, 15:12
- Java
- 15,256 views
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 ...
Full story
- Monday, August 31, 2009, 18:10
- Featured, Java
- 7,583 views
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).
Full story
- Wednesday, July 22, 2009, 14:48
- Java
- 3,975 views
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 ...
Full story
- Monday, January 19, 2009, 16:39
- How-To, Java
- 16,199 views
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 ...
Full story
- Wednesday, January 7, 2009, 18:34
- Featured, Java, Tutorial
- 9,018 views
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 ...
Full story