28 February 2022
Understanding variable scope in Java
2 December 2020
Pass by value and pass-by-reference in Java. How do they work?
Welcome to another tutorial on the “How to code in Java” tutorial series. In the last tutorial, we’ve gone through on how static class members and constant variable works. In this tutorial, we’ll be going through on how passing-by-value and passing-by-references work in Java.
30 October 2020
Constant variable, static fields and static methods. How they work and how to use them.
Welcome to another tutorial on the "How to code in Java" tutorial series. In the previous tutorial, we've gone through on how to access modifier works while going through the different type of it and how to use each of them correctly. In this tutorial, we'll be looking into what are constant variable, static fields and static methods.
17 October 2020
What is access modifier in Java?
Welcome to another tutorial on the "How to code in Java" tutorial series. In the last tutorial, we have gone through on how to use a constructor to initialize an object. In this tutorial, we will be looking at how Access Modifier works and how to use them correctly.
13 October 2020
What is a constructor in Java?
9 October 2020
Classes and Objects in Java.
Welcome to another tutorial for the "How to code in Java" tutorial series. In the last tutorial, we have gone through on the basic concept of object-oriented programming. In this tutorial, we'll be diving deeper into classes and object by demonstrating how to use classes and objects in Java. Without further ado, let's get started.
4 October 2020
Introduction to Object-Oriented Programming concept
29 September 2020
What methods are in Java? (A more in-depth tutorial)
Welcome to another tutorial on the "How to code in Java" tutorial series. In the last tutorial, we learned about how type-casting work and when to use them. In this tutorial, we'll be learning what methods are, how to use them and when to use them. Since everything in Java is represented in the form of objects, Java doesn't have "functions" like some other programming language. Instead, Java has only methods.
24 September 2020
How type-casting works in Java.
21 September 2020
How Arrays work in Java?
15 September 2020
What are loops in Java?
Welcome to another tutorial on the "How to code in Java" tutorial series. In the previous tutorial, I explained how we can take the user's input from the terminal using the Scanner class. While in this tutorial, we'll be going through on how loops work in Java. There're many different types of loops in programming, the commons one are for loop, while loop, do-while loop and enhanced for loop (Java only has this four types of loops). This tutorial won't be covering the enhanced for-loop of Java because it requires some knowledge of arrays to be understandable.
11 September 2020
How to get user input in Java?
5 September 2020
How to make a tic-tac-toe game using Javascript
In this tutorial, you'll be learning on how to make your own tic-tac-toe game using Javascript. In a traditional tic-tac-toe game, there will be two-player that in turn try to get 3 consecutive cells with their assigned icon (usually a circle, O and times, X) in a 3x3 grid. This is a simplified version of my tic-tac-toe game, where there you're up against a bot created with the minimax algorithm. While in this version, you'll need to ask some of your friends or family members to play with you or you could just play it alone. You can find my tic-tac-toe game through this Github link. All the code for this tutorial could be found here and if you want to play the game, you could visit this Github page. Now let's get started with the things that our game will need.
28 August 2020
How conditional statements work in Java?
22 August 2020
How bit-wise operators work in Java?
16 August 2020
What is relational, shorthand and logical operators in Java?
10 August 2020
How did I created a JSON file data filterer
Welcome fellow learners, in this blog post, I'll be writing about how I created a JSON file data filterer and how you code one yourself. The program lets you filter out the unwanted value from a JSON file and generate a new file for it. This program could work mostly thanks to the recursive functions I used. You can access the source code through this Github link. This blog post will be quite long as this blog post is the documentation for it.