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 all the attributes and methods that belong to superclass. 

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 form that file. This would help us to store the...

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 to handle the button event, for example, display something, or...

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 your concern let's go to learn Swing and make GUI...

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 sign "==". However, it requires a little bit of work when...

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 can also be applied to object-oriented programming and languages like...

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 a lot of beginners turn their back and walk away...

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 the sense of using this method. This post may help you. Consider...

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 friend a for loop that took them a while to...

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 savior for those who are tired of using the normal array...
Full stack developer

All Posts

flutter

Introduction of fetching_state package

This package is inspired by the Union type provided by freezed package. But sometimes, it could be too complicating or you join...

White noise player

The Membership wallet