Recent posts

Java - Handling String

4 minute read

In Java, strings are objects. Just like other objects, you can create an instance of a String with the new keyword, as follows: String s = new String("abc");...

Java - Inner class

3 minute read

Inner classes let you define one class within another. They provide a type of scoping for your classes since you can make one class a member of another class...

Java - StringBuffer

2 minute read

The java.lang.StringBuffer class should be used when you have to make a lot of modifications to strings of characters. String objects are immutable, so if yo...

Java - Object class

4 minute read

The Object class sits at the top of the class hierarchy tree in the Java development environment. Every class in the Java system is a descendent (direct or i...