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 more
We can customise the Serialization process by the following two ways: Implementing Externalizable interface. Implement Serializable and add the following[…]
Read more
Magic Methods to Customize Serialization (i) private void writeObject(ObjectOutputStream out) throws IOException: This method helps in customizing the serialization process.Here we can[…]
Read more
serialVersionUID is the only static field that gets serialized during object serialization.It basically represents the version of the class. package[…]
Read more
Serialization in simple words is the process of converting java object into bytes. Deserialization is the opposite action i.e., converting[…]
Read more
Introduction: Polymorphism in Java The word Polymorphism is derived from two greek words: poly and morphs. “Poly” means many and[…]
Read more
Abstraction,Encapsulation and Data hiding are all interconnected concepts in OOPS(Object Oriented Programming System).Java programmers are mostly confused when they are[…]
Read more
Memory leak is one of the great concerns of java developers.Basically, memory leak is the outcome of the failure of[…]
Read more
In this article, we will explore Garbage Collection in Java. Let’s get started. What is Garbage Collection in Java ?[…]
Read more
Heap stores all the objects and arrays that are created by the java program.Every JVM instance has only one heap area[…]
Read more