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.
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.
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:
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…
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:
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:
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:
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:
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.
In order to install Java in your system, you would need 2 things:
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.
Before learning any new technology, we must have two things clear in our mind: