Java -Abstract keyword – why and how
As learning Java, we knew how to deal with Inheritance where all the subclasses will represent the spirit of the superclass. They inherited...
Write and read an ArrayList object to a file in Java
Today, we will get to know how to write an ArrayList object to a file and then load the object back to the Java program...
Java Swing GUI – Make a Calculator (part 2) – Handle button event with...
In the last article, we've already known how to use JFrame, JPanel and add components into your application. In this post, we'll learn how...
Java Swing GUI – Make a Calculator (part 1) – JFrame, JPanel and components
Tired of seeing your hundred lines of code just running in the console? Wanting to make something cool, a real desktop app?. If that's...
Overriding equals() method in Java
Comparing is something that you would do a lot in programming. It's easy in Java to compare primitive variable using double equals...
What is polymorphism in Java object oriented programming?
"The dictionary definition of polymorphism refers to a principle in biology in which an organism or species can have many different forms or stages. This principle...
A quick look at Inheritance in Java Object Oriented Programming
Object-Oriented Programming (OOP) is something that you should hear about it as soon as you learn Java. This concept of programming has been making...
Chaining constructor function in Java. Why and How
You might hear about this term sometime, somewhere and now you trying to implement it in your code. But you couldn't see what is...
Understanding the for each (Enhanced for loop) in Java
The normal for loop make you feel sick? You want to write your code that looks like a “pro” or want to show your...
Getting to know Arraylist in Java
Since some of my classmates are struggling with Arraylist in their assignment. I would like to make some lines of word about this new...