Dynamic proxy in Java
Advanced Dynamic proxy allows us to implement interfaces dynamically by handling method calls in an InvocationHandler. It allows us to intercept method calls and[…]
Read moreAmplify your java knowledge with javagyansite
Advanced Dynamic proxy allows us to implement interfaces dynamically by handling method calls in an InvocationHandler. It allows us to intercept method calls and[…]
Read moreWe can customise the Serialization process by the following two ways: Implementing Externalizable interface. Implement Serializable and add the following[…]
Read moreMagic Methods to Customize Serialization (i) private void writeObject(ObjectOutputStream out) throws IOException: This method helps in customizing the serialization process.Here we can[…]
Read moreserialVersionUID is the only static field that gets serialized during object serialization.It basically represents the version of the class. package[…]
Read moreSerialization in simple words is the process of converting java object into bytes. Deserialization is the opposite action i.e., converting[…]
Read moreIntroduction: Polymorphism in Java The word Polymorphism is derived from two greek words: poly and morphs. “Poly” means many and[…]
Read moreAbstraction,Encapsulation and Data hiding are all interconnected concepts in OOPS(Object Oriented Programming System).Java programmers are mostly confused when they are[…]
Read moreMemory leak is one of the great concerns of java developers.Basically, memory leak is the outcome of the failure of[…]
Read moreIn this article, we will explore Garbage Collection in Java. Let’s get started. What is Garbage Collection in Java ?[…]
Read moreHeap stores all the objects and arrays that are created by the java program.Every JVM instance has only one heap area[…]
Read more