This article gives you the inner power of reflection. Actually speaking there is no concept of hacking. It is just a tweak you can make to a java object through reflection. In this article I will show ...
Learn how to use lazy instantiation and eager instantiation in your Java programs. Which approach is better? It depends on the scenario. When instantiating Java objects that are expensive in terms of ...
Writing a Java application (see Android) that consumes a JSON API usually involves mapping the JSON objects to Java classes for use in the software. This is a tedious and repetitive task to say the ...
Community driven content discussing all aspects of software development from DevOps to design patterns. In this Java serialization example, we will use both the ObjectOutputStream and the ...