Skip to content

EasynHow, Know How!

Just another WordPress site

  • Java
    • Java 8
  • Javascript
  • jQuery
  • J2EE
    • Spring
  • What’s New
  • C
  • C++
  • Others
    • Data Structures
    • Algorithms

Category: Java

May 26, 2017 Anoop Kumar Rai

Potential security hole- Final field containing a reference to a mutable object

Potential security hole- Final field containing a reference to a mutable object As a thumb rule, instance fields should never

Continue reading »
May 26, 2017 Anoop Kumar Rai

Consider implementing compareTo and equals method

Consider implementating compareTo and equals method Unlike the other methods the compareTo method is not declared in Object. Rather, it

Continue reading »
May 26, 2017 Anoop Kumar Rai

What is Quick sort and usage of Quick sort in JAVA Arrays.sort method

What is Quick sort and usage of Quick sort in JAVA Arrays.sort method As per JDK-8 Arrays.sort method uses Quick

Continue reading »
May 26, 2017 Anoop Kumar Rai

What is Merge sort and usage of Merge sort in JAVA Collections.sort method

What is Merge sort and usage of Merge sort in JAVA Collections.sort method Manipulating data in a faster and efficient

Continue reading »
May 26, 2017 Anoop Kumar Rai

Which is better option: Java clone or Copy constructors or Copy static factory?

Which is better option: Java clone or Copy constructors or Copy static factory? The Cloneable interface was intended for objects

Continue reading »

Posts navigation

«Previous Posts 1 2

Search