Memory Leak in Singleton Pattern

Singleton Design Pattern is basically used when we want to limit object creation. Singleton Design Pattern is considered one of the most simple design pattern. The main concern of this pattern is to ensure that only one instance of a class is created and provide a global point of access to the object.   We … Continue reading Memory Leak in Singleton Pattern


Java Coding Standards

Coding Standards for Components: It is recommended to write components name by its purpose. This approach improves the readability and maintainability of code. Coding Standards for Classes: Usually class name should be noun starting with uppercase letter. If it contains multiple word than every inner word should start with uppercase. Eg: String, StringBuffer, Dog Coding … Continue reading Java Coding Standards