Home

Master the art of code

  • My First Blog Post

    August 14, 2019 by

    Be yourself; Everyone else is already taken. — Oscar Wilde. This is the first post on my new blog. I’m just getting this new blog going, so stay tuned for more. Subscribe below to get notified when I post new updates.

  • Java Collections: Comparable vs Comparator

    October 11, 2019 by

    In Java we can use a Comparable or Comparator interface to sort a collection. Both interfaces have some differences you should know in order for you to make the right decision. Comparable Interface We can only sort the collection by a single member of an element. Comparable affects the current object being sorted. Override compareTo()… Read more

  • Java Collections: Map

    October 10, 2019 by

    Map Interface What is a map in java? In java map is an interface that extends the collection interface. A map structures its elements in a unique key value pair by using a hash table data structure. A map is unordered by default. Map can be implemented by TreeMap, HashMap, and LinkedHashMap classes. HashTable A… Read more

View all posts

Follow My Blog

Get new content delivered directly to your inbox.

Design a site like this with WordPress.com
Get started