Wednesday, 18 November 2015
What is the difference between Shallow cloning and Deep cloning
›
S.No Shallow Cloning Deep Cloning 1 Here copied object points to the same location the previous object poin...
What is Reflection and Interospection
›
"Reflection" refers to the low-level API with which you can ask "what are the methods of this class", "what param...
Difference between "== operator" and "equals() method" in java
›
S.No = = Operator equals() method 1 It is used for reference comparison. It is also used for reference comparison but if we...
What is Serialization and Deserialization? Give me examples
›
Serialization : Serialization in java is a mechanism of writing the state of an object into a byte stream.It is mainly used in Hibernate, ...
What are Java 8 & Java 9 Features
›
Java 5 Features: > For-each loop > Autoboxing and Unboxing > Covariant Return Type > Annotation ...
Difference between IdentityHashMap and HashMap
›
In Identity Hashmap, JVM uses == operator to identify duplicate keys. Ex: IdentityHashMap m=new IdentityHashMap(); Integer i1=new Int...
What is CopyOnWriteArrayList, how it is different than ArrayList
›
CopyOnWriteArrayList is a thread-safe counterpart of ArrayList. All mutable operations like add and set are implement by using a copy of t...
›
Home
View web version