JAVA MAP

In this post, I will introduce HashMap, LinkedHashMap and Hashtable in Java as well as their corresponding methods.

JAVA SET

In this post, I will introduce HashSet and LinkedHashSet in Java as well as their corresponding methods.

THREE LOOPS FOR NOVICE PROGRAMMERS

Do you know how these three loops work? Take your time and think about the output of them. ^ ^

SWAPPING NUMBERS IN SORTING ALGORITHMS

In this post, I will demonstrate an interesting observation about swapping numbers in sorting algorithms.

JAVA GENERIC PROGRAMMING

In this post, I will introduce generic programming in Java and talk about how to define and use generic class, generic method, generic interface and generic wildcard.

JAVA ITERATOR

In this post, I will talk about Java iterator which is a powerful tool for us to traverse elements. In addition, enhanced for loop will also be introduced which can simplify the code for element traversal.

JAVA COLLECTION

In this post, I will talk about Java collection. Some well-known containers such as ArrayList, TreeSet are implementing classes of their respective interfaces which inherit from the collection interface. Therefore, it is a good idea to learn methods from the collection interface because all of its derived implementing classes will acquire the same methods.

JAVA PREDEFINED CLASS

In this post, I will talk about some predefined classes as well as commonly used APIs in Java. The post will cover object class, date class, date format class, calendar class, system class, string builder class and wrapper class. In addition, I will demonstrate some methods of those classes and show some examples.

C# CLASS MEMBERS

This post will quickly go through three main class members including property, method and event.

JAVA INNER CLASS

If an object contains another object, then this means that a class includes another class. For example, the relationship between cars and engines. In this case, the engine class is called an inner class. In this post, I will explore the properties of three types of inner classes (Member Inner Class / Local Inner Class / Anonymous Inner Class).