There are multiple ways I could start this article by telling you about this paradigm's history and a bunch of other useless information and so, I won’t do that. I believe that the only useful information in technology is that what we can use to make our lives better today. Before I begin, I want to shamelessly promote my latest FULL 4 HOURS COURSE on OOP JAVA I release for FREE on my YOUTUBE CHANNEL IBCoder. Alright, now let’s begin.

Full Java OOP Course on YouTube

The world is full of objects. Anything you see around you is an object. Each object has some intrinsic states…


How many of us have learned something by reading a book or watching a lecture but then couldn’t remember it when we needed it the most? I am pretty sure the answers will mostly be above 90% of all the people who tried answering this question. In this article, I will be summarizing the basics of how to study less and in a smart manner rather than wasting hours with no results. This article is in itself an example of the very same techniques outlined within it borrowed from the lecture given by Marty Lobdell.

Having difficulty focusing on the studies?

The Correct Way of Studying Effectively

The correct format to study…


Variables are a block of memory that holds data for temporary use. Variables are defined using data types which are of two types:

  1. Primitive
  2. Reference

Let’s look at variables first by looking at the code snippet below:

In the above code snippet, age is a variable of data type integer. The reason why it is called variable is because we can change the value assigned to age during initialization at line 3, in line 4. Since we can change the values held by the memory block, we call it variable.

Now let’s look at constants:

In the above…


Featured Image

In the previous tutorial article we looked into the in-depth explanation of Java HelloWorld program. In this tutorial, we will see how Java executes the program.

In Java, a program is executed in two phases:

  1. Compilation phase.
  2. Execution phase.

Compilation Phase

During compilation phase, our Java Compiler takes our program file with extension *.java and converts it to byte code *.class file. This .class file is what gives Java the ability to be platform independent. This can be done by using the below command in command line or terminal:

Execution Phase

In this phase, our byte code is taken by Java Virtual Machine…


So, we have introduced Java, installed and setup our environment and learnt about the basic structure of our Java Program. Now, let’s see the full in-depth explanation of HelloWorld program we created in our article two.

Let’s go line by line:

  1. package com.javatutorial: Packages are namespaces in Java. Their naming convention in Java says that we should name our packages in reverse order of our domain name on internet. This doesn’t mean that we need a domain name at all. It’s simply a namespace. Packages are collection of classes, just like classes are collection of related methods.
  2. public class…

featured image

In order to proceed with writing code in Java, we must first understand the structure of our Java Program.

In Java, functions are the building blocks of our program. Functions are basically a block of code that runs when we want them to and perform some specific task for us. We will take a look into it in brief later in this article.

For now, let’s look at the generic structure of our program:

In the above code snippet, we see some programming lingo at work. Let’s see what they are:

  1. Access Modifier: This is there to tell our…

Since a month or so, I am constantly focusing on starting my YouTube Coding Channel which is finally online from November 1, 2020. Starting this channel, I learnt the difference between truly absorbing knowledge from documentations, videos, and other platform and thinking that you have learnt what is being taught. But that’s completely philosophical discussion for another time.

In this article, I will tell you about update-alternatives command in Ubuntu WSL2. But before that, here’s how I ended up with needing to work with python.

So, I wasn’t feeling well with my allergy today, resulting in unintended abs workout —…


Java Tutorials for Beginners [2021]

In order to install Java in your system, you would need 2 things:

  1. JDK (JAVA Development Kit)
  2. JAVA IDE: You can use any IDE like Eclipse, NetBeans, IntelliJ Idea Community or code editors like Sublime, VS Code, Atom or even Notepad if you are a daring person! We will however use IntelliJ Idea Community here.

Installing JDK

  1. Go to your browser and search for JDK download.
  2. Go to the first link as shown below and click on it.
  3. Click on Download JDK 15.
  4. Scroll down and choose your version as per your system and download.
  5. Install from clicking on the setup icon…

Hi, I am Saurabh Srivastava. I have a YouTube Channel by the name “ibcoder” where I have started teaching coding to people. In this short article, I will be introducing you all to Java Programming Language. This will be a series of articles dealing with Java Programming for Beginners in 2021. So, let’s not waste any more time and see what Java is, it’s use, and why you should learn it.

Java Tutorial Series for Beginners in 2021

Before learning any new technology, we must have two things clear in our mind:

  1. What is it that we are about to learn?
  2. Why do we want to learn…

Saurabh Srivastava

B.TECH Computer Science & Engineering | Software Developer | Foodie | Manga & Anime Lover | Hindu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store